<p> align attribute | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

<p> align attribute

One has to wonder, as the align attribute isn't supported in HTML5, why it's being taught here? Surely it would be better to change it to the style attribute?

14th Dec 2018, 12:35 PM
Gavin
Gavin - avatar
2 Answers
+ 3
Sometimes while browsing other people's codes, maybe at work, you will come across these deprecated rules /properties /features and it's good to know they exist. Earlier versions of the HTML are still very common. ✌️ In CSS you will learn about text-align.
14th Dec 2018, 10:08 PM
dρlυѕρlυѕ
dρlυѕρlυѕ - avatar
0
If you go through the Comments under the following link you would be enlightened https://www.sololearn.com/learn/HTML/1029/
4th Jan 2019, 8:07 PM
Dennis Chirata
Dennis Chirata - avatar