what's the difference between head and body ? | Sololearn: Learn to code for FREE!
+ 1

what's the difference between head and body ?

what's the difference between head and body ? ty

11th Jun 2018, 10:39 AM
Scrozix - avatar
4 Respostas
+ 7
In the html, Head section is usually used for containing the link for the other files such css file and JavaScript files. It can also be used for the style tag to style the html content.The script tag can also be used in the head. Body is used for everything you can say. Body tag contains all the elements that shows up as an output to the web browers. The style and script tags can be included here too.
11th Jun 2018, 10:57 AM
Akash Pal
Akash Pal - avatar
+ 7
head contains scripts,CSS and meta informations body contains visual part of document
11th Jun 2018, 1:22 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 6
body is where you put the stuff you'll see displayed (for example a paragraph) and head is the place you connect your scripts, your css and things like this
11th Jun 2018, 10:55 AM
Alexandru Turculet
Alexandru Turculet - avatar
+ 2
thanks !
11th Jun 2018, 10:56 AM
Scrozix - avatar