0

What is diffrence between head tag and body tag?

beginner

4th Jun 2018, 11:43 AM
Dead Pool
Dead Pool - avatar
5 ответов
+ 4
Things in head element are the things that shouldn't be rendered like information about the page and how it process Things in body tag are the elements that should be displayed like the content of the page:)
4th Jun 2018, 11:53 AM
Random
Random - avatar
+ 3
head tag is required but it is used only once.Because within the head tag ,the information about the document(metadata) is placed.
4th Jun 2018, 12:01 PM
Random
Random - avatar
+ 1
Head tag should contain non visible components of ur html document. while body tag should have visible containt.
4th Jun 2018, 11:49 AM
Yugabdh
Yugabdh - avatar
0
then why head tags are there in html
4th Jun 2018, 11:56 AM
Dead Pool
Dead Pool - avatar
0
the head tag contains stuff that can't be seen on the webpage the head tag usually contains the title of the page, a link to an external CSS code if any the body tag usually contains all the visual outputs we see on webpages
4th Jun 2018, 3:09 PM
Mathias Otutey
Mathias Otutey - avatar