HTML Element



HTML element is the initial element, which encloses the entire HTML elements in it.
<html> <head> <title>Text</title> </head> <body> Text </body> </html>
Element Specific attributes supported by this element are:
manifest url Mentions about address of a document cache manifest. It helps in offline browsing.
xmlns // Denotes the XML namespace attribute.

"Manifest" attribute has been newly introduced in HTML5.

Example Code:

Result :

Title Content
  • If <html> is not used, then the code will not be executed.
  • It encloses the major elements, but except <!doctype>. <!doctype> should be placed ahead of <html>.
It is available in previous versions of the HTML.
It supports only the Global Attributes in HTML5.


It will function in all the browsers.

Ask Questions

Ask Question