HTML head tag

<head> tag contains title of the page, links for external style sheets and scripts.

<head>
 <title>Here title is written</title>
 <meta name="keywords" content="here keywords are written">
 <meta name="description" content="here description is present">
</head>
</>

It also contains meta information which is very important in SEO (search engine optimization).

Tag omission

The end tag (</head>) may be omitted.

Global Attributes

All the global attributes are applicable on the <head> element.



Was this article helpful?