Theelement is the container for all other HTML elements in the HTML document except for the declaration. All other HTML elements are contained within a start and an endtag as shown in the following example:

Required Attributes

If the DOCTYPE is set to XHTML, then the xmlns attribute is required. For HTML, it is invalid. The required attribute is added as shown in this example: <html “xmlns=http://www.w3.org/1999/xhtml”>

Optional Attributes