Include information about the document in HTML



Use the <head> tag to include information about the document. The HTML <head> tag is used for indicating the head section of the HTML document. Tags included inside head tags are not displayed in the browser window.

Example

You can try to run the following code to include information about the document in HTML −

<!DOCTYPE html>
<html>
   <head>
      <title>HTML head Tag</title>
   </head>
   <body>
      This is demo text.
   </body>
</html>

Advertisements