1. Computing

Discuss in my forum

<html></html>

By , About.com Guide

<html> Description:

The <html></html> element contains all of the HTML of the document.

In an XHTML document, the <html> tag is the root or container element of the document and must contain the default namespace.

<html> Web Browser Support:

<html> Attributes:

<html> End Tag:

</html> REQUIRED

<html> Contents:

The entire XHTML document. The following tags are valid within the <html> tag:
body, head, frameset

<html> Valid Context:

The <html> tag is valid within the following tags:
None

<html> Usage:

  • Basic page
     <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
     <title>Title</title>
     </head>
     <body>
     contents of page
     </body>
     </html>

<html> Special Notes:

  • While it is technically valid to leave out the tags, it is not a good idea as browsers get confused and without a container element, your XHTML document will be invalid.

More <html> Information:

©2013 About.com. All rights reserved.