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

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -