basics of website design banner photo

HTML

HTML 5

CSS 2.1

CSS 3

Reference

HTML <html> Element

The <html> element tells the user agent (browser) that the page is constructed using HTML or Hypertext Mark-up Language. The html element is the outermost element in HTML and XHTML documents and also known as the root element.

The <html> element is one of the principal structural elements and fits into the layout of a document in the following way:

<!DOCTYPE>
<html>
<head>
<title>......</title>
</head>
<body>

PAGE CONTENT

</body>
</html>

In order for an XHTML document to validate and conform to W3C specifications the <html> element must also contain an xmlns declaration for the XHTML namespace. This declaration is written:

<html xmlns="http://www.w3.org/1999/xhtml">

<html> Attributes

HTML 4 Element List