What is the <body> and <head> codes for in HTML?

  • Thread starter Thread starter dzchaos2
  • Start date Start date
D

dzchaos2

Guest
I have never used the <head> html code

but i have used the <body> code and i didn't notice any difference with our without it

What are both of them for? Are they necessary? When should i use them/should i use them in making a webpage?

Thanks!
 
Head contains meta-data, scripting code (such as javascript or vbscript), other non-visual content. The body generally contains the visual elements that get rendered and displayed by the browser.
 
Back
Top