In this tutorial we will discuss about <html> tag in html5 documentIn this tutorial we will discuss about <html> tag in html5 document
In this tutorial we will discuss about <html> tag in html5 document. This is the ROOT element of the html document. HTML tag contains all other html tag within it except <DOCTYPE> tag ,<DOCTYPE> tag is located before the html opening tag . <html></html> tag have only two main tags are one <head> and one <body> tag and all other tag of html is nested in these two tags. The <html> tag indicates to the browser that it is a html document.
The syntax of <html> tag is as:
|<html> All other tags here </html>|
This tag have a specific attribute "manifest" as follows.
manifest="value" The value specify the URL which describes the document's cache information.
<title>Example of html Tag</title>
This is body of html document.
Difference between HTML5 and HTML4.
In html5 manifest is the new attribute.