Tag head after closing tab body

前端 未结 2 1479
天涯浪人
天涯浪人 2020-12-22 01:37

Hi everyone
is it possible, in HTML, to insert the after the closing tag ? Or do I have to code before the <

2条回答
  •  渐次进展
    2020-12-22 02:11

    No.

    An HTML element must consist of exactly one HTML element with its children being one HEAD element and one BODY element, in that order.

    The start and end tags for all three of those elements are optional, but you can't explicitly place them in any other order.

    Browsers will attempt error recovery if you place the HEAD after the BODY, but you shouldn't depend on this.

    external style sheet after an internal style sheet if the external style sheet is declared in the head which is always before the body?

    You are confusing internal stylesheets (defined with the

提交回复
热议问题