<html> tag in HTML

The <html> tag is used to inform the browser that this is an HTML document.

Important Description

  • The <html> tag is used as the container for all HTML elements.
  • Open and close tag required of <html>.

Syntax Example of <html> tag

<html> Tag Browser Support

Element Chrome Edge Firefox Safari Opera
<html> Yes Yes Yes Yes Yes

Global Attributes


Used xmlns attribute, If you need the content to conform to XHTML.

Attribute Value Description
xmlns Defines the XML namespace attribute

Advertise With Us

We offer sponsored posts and guest posts with do-follow links, back-links, and other advertising services, To advertise email us at ""

© 2021 GDATAMART.COM (All Rights Reserved)