Difference between head and body tag?
Answers
Answered by
5
Answer:
Things in the head tag are things that shouldn't be rendered: information about the page and how to process it.
Things in the body tag are the things that should be displayed: the actual content.
Javascript in the body is executed as it is read and as the page is rendered.
Javascript in the head is interpreted before anything is rendered.
The body encapsulates the contents of the document, while the head part contains meta elements, i.e., information about the contents. This is (typically) title, encoding, author, styling etc.Jun 10, 2011
Answered by
14
Answer:
Explanation:head tag covers the header and the title area in an HTML document whereas body tag covers the content
Similar questions