html5 - Deprecated HTML elements still work -
w3c has announced several elements have become deprecated, such <font>
, <frameset>
, <strong>
, of can replaced css. change said brought in html 5, however, if put html 5 doctype on document these elements still seem work. unknowingly not applying hmtl 5 doctype, or misinterpreting w3c's notice?
the doctype
not determine elements supported. if browser supports element, element 'work'. browsers support elements deprecated, because have work when used view old sites.
as thought experiment, think code do?
bluefire { display: block; padding: 1em; border: 2px solid black; } <bluefire> hello world! </bluefire>
the definition of whether or not elements 'work' not clear cut.
Comments
Post a Comment