The HTML Book
  • The HTML Book
  • Basic Elements
    • Head
    • Body
    • H1
Powered by GitBook
On this page

Was this helpful?

  1. Basic Elements

Head

The meta data of a webpage

The head element is used to specify metadata like title, description, keywords and author of a webpage. This metadata is used by search engines like Google to index websites. The content inside this tag is not rendered into the body of the webpage.

head_example.html
<head>
    <title>The HTML Book</title>
    <meta name="description" content="A quick and detailed start to HTML">
    <meta name="keywords" content="Learn, HTML, book">
    <meta name="author" content="Express Gradient">
</head>

head is the first element that will get interpreted by the browser. So, we can place any assets like CSS files to get loaded before the actual content is rendered.

PreviousThe HTML BookNextBody

Last updated 4 years ago

Was this helpful?