HTML <html> tag

HTML <html> tag : Definition

• The <html> tag Defines the root of an HTML document.

• This tag is the container for all other HTML elements, HTML tag has usually three main parts: opening tag, content and closing tag but some HTML tags are unclosed tags.

<html> tag example :

<!DOCTYPE html> 
<html> 
    <head> 
        <title>HTML html Tag example</title> 
    </head> 
    <body> 
        <html> 
            <p>This is first paragraph.</p> 
            
            <p>This is second paragraph.</p> 
        </html> 
    </body> 
</html> 


OUTPUT :

  

This is first paragraph

This is second paragraph