Saturday, October 9, 2010

HTML Document Structure

An HTML document starts with <html> & ends with </html> tags. by using these tags tells browser that the entire document is composed in HTML. Inside these two tags, the document is split into 2 sections:

  • The <head>...</head> elements, which contain information about the document such as title of the document, description, keywords, canonical tag, etc. Information inside this tag does not display outside.
  • The <body>..</body> elements, which contain the real content of the document that you seen on your screen.

No comments:

Post a Comment