0
Align attribute in HTML5
how come you say that the align attribute is not supported in html5 but it works on notepad??
4 Réponses
+ 2
You got it wrong.
It says that it is deprecated!
That means you SHOULD NOT use IT (in order to have HTML5 conform code). It doesn't say that you CAN'T!
The browsers may still support the attribute for compatibility reasons.
PS.:
You say it works in Notepad? How can a code "work" in a text editor?
+ 3
It works in all major browsers for now but support could be dropped any time by any browser, so you should use CSS for future.
0
Thanks
0
Oh. OK 👌