So align attributes are not supported in html 5 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

So align attributes are not supported in html 5

Seriously

6th Dec 2020, 6:22 AM
Kwabena Karikari Affum
Kwabena Karikari Affum - avatar
3 Answers
+ 6
Yes. Use can with CSS h1{ align:center; } Also note that align attribute will not work with inline elements Example: img{ align: center; } /* The code above will not work */ In the above case use that inline element in block element and then align center. Html: <p> <img src="url"> </p> Css: p{ align: center; } Happy coding
6th Dec 2020, 6:48 AM
ツSampriya😘ツ
ツSampriya😘ツ - avatar
+ 6
Affum kwabena Karkari Looks like you have declared it officially.. https://www.sololearn.com/learn/HTML/1029/?ref=app -- Jan Markus even he's "serious about that" ¯\(◉‿◉)/¯
6th Dec 2020, 10:16 AM
Piyush
Piyush - avatar
+ 1
Sololearn
6th Dec 2020, 6:45 AM
Kwabena Karikari Affum
Kwabena Karikari Affum - avatar