Example

A simple <html> tag that open PNLdev.com link:

Laboratory

description & Usage

The <html> tag defines the root of an html document.

From the time the <html> tag opens the document to the time the <html/> closes, you can use all the HTML language tags in your programming.

But it should be noted that the <! DOCtype> tag is not included in this process and is used before the <html> tag.

Notes

Note: If we want to specify the language of our html document, we must use the lang attribute in the <html> tag.

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
<html>

Global Attributes

The html tag supports the HTML Global Attributes.

Event Attributes

The html tag supports the HTML Event Attributes.

Default CSS

Most browsers will display the html tag with the following default style: