The Head element contains several other important elements to make the HTML document complete. It begins with the <head> tag and ends with the </head> tag.
<html lang="en">
<head>
<!-- The Title element displays the text in the page Title Bar. -->
<title>The Head Element</title>
<!-- The Metadata elements contains additional information for the browser. -- >
<meta name="author" content="Lester J. Clark" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width initial-scale=1" />
</head>
<body>
</body>
</html>
Notice that the Metadata element is an "empty" element. It does not use an End tag.
Usually the Head tag is not indented.
More about Files