What's stopping me from using arbitrary tags in HTML?

前端 未结 7 918
礼貌的吻别
礼貌的吻别 2021-01-11 15:36

Even the new HTML5 tags aren\'t enough to describe structures without falling back to divs. What\'s stopping me from changing:

7条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-11 16:30

    The issue is that it would not validate and the new tags would simply be ignored.

提交回复
热议问题