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>
Updated on: 2020-05-27T21:00:49+05:30

200 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements