Description

The HTML <head> element contains machine-readable information (metadata) about the document, like its title, scripts, and style sheets.

CSS Display:none

Syntax

<head> <title>Your Title</title> </head>

Examples

Complete Head Example
<head> <meta charset="UTF-8"> <title>My Website</title> <link rel="stylesheet" href="style.css"> </head>
Common elements placed inside the head tag.

Notes

The <head> tag acts as a container for all the unseen information that browsers and search engines need, rather than the content displayed to users. It typically groups <title>, <meta>, <link>, <style>, and <script> tags.

Unlike the <body>, elements placed in the <head> will not render onto the webpage canvas directly.

Related Tags

Last updated: 8th April 2026