HTML <html> Tag
The <html> tag tells the browser that this is an HTML document.
The html element is the outermost element in HTML and XHTML documents. The html element is also known as the root element.
- Example Code:
<title>Title of the document</title>
The content of the document......
Attribute Definition version Specifies the HTML DTD version of the document. The version attribute is deprecated - use the !doctype tag instead. content Specifies the property's value. scheme Specifies a scheme to use to interpret the property's value (as declared in the content attribute). http-equiv Used for http response message headers. For example http-equiv can be used to refresh the page or to set a cookie. Values include content-type, expires, refresh and set-cookie.
- Global Attributes:
The <html> tag also supports the Global Attributes in HTML5