Contact Number
Email Address

head

head

Definition and Usage

The <head> element is a container for all the head elements. The <head> element can include a title for the document, scripts, styles, meta information, and more. The HTML <head> element provides general information (metadata) about the document, including its title and links to its scripts and style sheets. head is required and it should be used just once. It should start immediately after the opening html tag and end directly before the opening  body  tag. The <h1> to <h6> tags are used to define HTML headings. <h1> defines the most important heading. <h6> defines the least important heading. The <head> element can contain other HTML tags that contain metadata. Metadata provides information about the document such as title, description, keywords etc. The following elements can go inside the <head> element and all enclosed within the <head> element.
  • <title> (this element is required in an HTML document)
  • <style>
  • <base>
  • <link>
  • <meta>
  • <script>
  • <nosctipt>

Syntax

<html> <head> <title></title> </head> </html>