W3C has announced that several elements have become deprecated, such as <font>, <frameset> and <strong>, most of which can be replaced by CSS. This change was said to be brought about in HTML 5, however, if I put the HTML 5 doctype on a document these elements still seem to work. Am I unknowingly not actually applying the HMTL 5 doctype, or am I just completely misinterpreting the W3C’s notice?
W3C has announced that several elements have become deprecated, such as <font> , <frameset>
Share
The
DOCTYPEdoes not determine what elements will be supported. If your browser supports an element, than the element will ‘work’. Browsers support elements that are deprecated, because they have to work well when they are used to view old sites.As a thought experiment, what do you think this code will do?
The definition of whether or not elements ‘work’ is not clear cut.