HTML html Tag

HTML <html>Tag: In HTML <html>tag specifies the browser that this is an html document. The <html> tag supports the global attributes. The container for all other HTML elements is <html> tag. And the <html> tag is denoted as the root of the HTML page.

HTML<html>Tag

Syntax: <html> Text <html>

Browser compatibility

The HTML <html>tag is supported by different types of attributes.

  • Chrome
  • Firefox
  • Opera
  • Safari
  • Internet Explorer

Example:

<!DOCTYPE html>
<html>
<body>
https://tutorials.freshersnow.com/
</body>
</html>

Output:

https://tutorials.freshersnow.com

 

Attributes that are supported by the <html> tag

Attribute Value Description
xmlns http://www.freshersnow.com/1999/xhtml Specifies the XML namespace attribute