HTML Multiple Heads

前端 未结 4 710
别跟我提以往
别跟我提以往 2021-01-12 22:19

NOTE: I am in no way advocating multiple heads within a page


I\'m using Apache Tiles and I have a few tiles that include their own heads

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-12 23:04

    Well, in modern Chrome, it's at least possible to know what happens. Chrome uses the HTML5 parser algorithm which describes exactly how invalid mark-up is processed. The gory details are at http://dev.w3.org/html5/spec/tree-construction.html#parsing-main-inbody

    What happens in your example is that the first in is discarded. Then the , and ditto for

提交回复
热议问题