HTML Basic Structure
7.3
Lesson

Head Element

The <head> element is used for specifying additional information about your webpage. Information such as which fonts to use, which JavaScript or CSS files to link to, what is the title of the page, etc.

Given below are a few important elements which help store this information:

  • <title> element, which is used to set the title of the web page. This gets displayed in the browser’s title bar or page tab.
  • <link> element, which is used to add external resources, such as CSS files.
  • <script> element, which is used to embed JavaScript code.

<head>
    <title>A Head element is a powerful thing!</title>
</head>