Obsolete vs. Deprecated HTML

后端 未结 4 430
甜味超标
甜味超标 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:40

    The dictionary tells the story pretty well:

    Deprecated: Express disapproval of.

    Obsolete: No longer produced or used; out of date.

    It is recommended that you don't use deprecated elements, because they will likely not be supported in the future, whereas obsolete elements have already been discontinued from use.

提交回复
热议问题