Can HTML contain two HEAD tags

后端 未结 6 1960
盖世英雄少女心
盖世英雄少女心 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:25

    Good response @Gwenc37. You can have any tags in any other tags, but it is always best to keep to the W3C standards and specifications. Later on in the project you might get to a point where your HTML does not parse correctly in a browser or even worse breaks.

    To be safe, rather keep to the W3C standards. This way you cannot go wrong. Hope this helps.

提交回复
热议问题