Html attribute | Sololearn: Learn to code for FREE!

+2

Html attribute

Can we use more than one attribute for one element, e.g for <p> could we aligned to center and chang width and colour?

4/27/2019 5:46:18 AM

Siham Alsadi

4 Answers

New Answer

+8

Yes bro u can use as many attributes as u want for a element. U can define it's alignment , color , bg-color , height width etc.

+5

Yes.

+2

Yes u can use more than one attribute for one element

+2

We cannot use attribut align for colores. And yes, we can use more then one attribute for one element