You are here : htmlHTML 5head

<head> - HTML 5

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 following elements can go inside the <head> element:

  • <title> (this element is required in an HTML document)
  • <style>
  • <base>
  • <link>
  • <meta>
  • <script>
  • <noscript>


Syntax

    <!DOCTYPE html><html>	<head>	<title>Title of the document</title>	</head>	<body>	The content of the document......	</body>	</html>


Example

    <!DOCTYPE html><html>	<head>	<title>Title of the document</title>	</head>	<body>	The content of the document......	</body>	</html>


Output / Return Value


Limitations


Alternatives / See Also


Reference