This <html> element identifies the page as an HTML document.
It has two main sections, <head>
and <body>
.
<html> |
Yes | Yes | Yes | Yes | Yes |
HTML5 has added a new attribute: manifest
.
The <html> tag supports the Global Attributes in HTML.
html { display: block; } html:focus { outline: none; }
A demo showing how to use <html> tag.
<html>
<body>
paragraph#1
<hr id="firstRule" noshade color="blue">
paragraph#2
<hr id="firstRule" color="blue">
</body>
</html>