View Full Version : BODY, HEAD AND HTML Tags
ldsnodden
07-21-2003, 10:17 PM
Probably a silly question but I am fairly new to web building. What are the importance of HTML BODY and HEAD tags?
Spookster
07-21-2003, 10:49 PM
It is all explained in this nice little tutorial:
http://www.w3schools.com/html/html_intro.asp
"The first tag in your HTML document is <html>. This tag tells your browser that this is the start of an HTML document."
Interesting, considering all the above mentioned tags are optional in HTML. :D
HEAD denotes the doument's head section (either the tags are there or not!), containing information about the document, meta data if you will, that's not visible on the page and the document's title.
BODY denotes the body of the document containing everything that's visible on the page, the content.
HTML sort of wraps it all up. :o
And no, it's not a good idea to omit the tags even if it's allowed. It's not allowed in XHTML and besides it's damned ugly.
Spookster
07-22-2003, 04:47 AM
Originally posted by meow
"The first tag in your HTML document is <html>. This tag tells your browser that this is the start of an HTML document."
Interesting, considering all the above mentioned tags are optional in HTML. :D
HEAD denotes the doument's head section (either the tags are there or not!), containing information about the document, meta data if you will, that's not visible on the page and the document's title.
BODY denotes the body of the document containing everything that's visible on the page, the content.
HTML sort of wraps it all up. :o
And no, it's not a good idea to omit the tags even if it's allowed. It's not allowed in XHTML and besides it's damned ugly.
you stated almost the exact same explanation found in the link I posted.
Oh, I'm sorry. I'll spank myself good. :(
ronaldb66
07-22-2003, 09:24 AM
It never hurts to mention a useful thing twice... :thumbsup:
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.