HTML - <head> Tag


Advertisements


Description

The HTML <head> tag is used for indicating the head section of the HTML document. Tags included inside head tags are not displayed on browser window.

Example

Live Demo
<!DOCTYPE html>
<html>

   <head>
      <title>HTML head Tag</title>
   </head>

   <body>
      actual content goes here
   </body>

</html>

This will produce the following result −

Specific Attributes

The HTML <head> tag also supports the following additional attributes −

Attribute Value Description
profile URL Specifies the URI/URL of one or more meta data profiles. It is not supported in HTML5.

Browser Support

Chrome Firefox IE Opera Safari Android
Yes Yes Yes Yes Yes Yes

html_tags_reference.htm

Advertisements