Can HTML contain two HEAD tags

后端 未结 6 1963
盖世英雄少女心
盖世英雄少女心 2021-01-31 18:57

In my web application I got Header.jsp file which contains default header contents. Im including it in all other pages using jsp:include tag inside body tag of each individual p

6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-31 19:30

    It's not valid according to the standard

    Relevant part:

    4.2.1 The head element

    Categories: None.

    Contexts in which this element can be used: As the first element in an html element.

    Your second element wouldn't be the first element in the html document.

提交回复
热议问题