html5: using header or footer tag twice?

后端 未结 6 774
情歌与酒
情歌与酒 2020-12-24 10:06

quick question: is it actually allowed to use the header tag twice? e.g. i have two important head-sections in my header.php where both could have header tag?

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-24 11:00

    You can put two

    tags in your document, sure. Semantically, however, it is incorrect. Why not use one
    tag and use a different tag inside it?

提交回复
热议问题