HTML <head> Tag
<!DOCTYPE HTML>
<html>
<head>
<title>Document Title</title>
</head>
<body>
<p>Content goes here...</p>
</body>
</html>
The above example demonstrates usage of the <head>
element.
The <head>
element represents a collection of metadata for the HTML document. This metadata is typically represented by HTML tags such as <title>
, <link>
, <meta>
, <script>
, etc.
The <head>
element must appear as the first element in an <html>
element.