Skip to navigation

HTML Tag: head

Where metadata — information about the document — is placed. It should be the first element inside an html element.

A title element is required within the head element. meta, style, base, link, and script can also be used.

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.

Optional Attributes

Global attributes


<!DOCTYPE html>
<html lang="en">
        <title>Bob Your Head</title>
        <link href="bobYourHead.css" rel="stylesheet">
        <!-- blah blah -->