Skip to content Skip to sidebar Skip to footer

Tag Head After Closing Tab Body

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

Solution 1:

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 <script> element, which (like <link> which is used for external stylesheets) must appear in the <head>) with inline styles (defined by the style= attribute, which can appear on almost any element, including most that appear in the <body>.

Nothing about the order that stylesheets appear in can alter the influence of inline style, since they will always have a higher specificity.

Solution 2:

No you can't i think this may help you..

enter image description here

For more read this http://www.htmlbasictutor.ca/html-document-structure.htm

Post a Comment for "Tag Head After Closing Tab Body"