Obsolete vs. Deprecated HTML

后端 未结 4 427
甜味超标
甜味超标 2021-01-11 16:50

What is the difference between the terms \"obsolete\" and \"deprecated\" with regards to HTML? I seem to be seeing a lot of elements being flagged as \"obsolete\" in HTML5..

4条回答
  •  孤独总比滥情好
    2021-01-11 17:43

    In your question, you reference a blog post that subsequently links to the W3 specification regarding obsolete elements.

    http://www.w3.org/TR/html5/obsolete.html#obsolete

    So as the blog you linked to eludes, obsolete elements should never be used, there are alternatives available. For deprecated elements, browsers will generally still support and render them for backwards-compatibility, but your page will not pass conformance validation.

提交回复
热议问题