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

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -