HTML <head> Tag Example

HTML Code:

<!DOCTYPE html>
<html>
  <head>
    <title>HTML Head Tag Example</title>
    <meta charset="UTF-8">
    <meta name="description" content="Example to demonstrate head tag in HTML">
    <meta name="author" content="Your Name">
  </head>

  <body>
    <h1>Welcome to My Page</h1>
    <p>The <head> tag contains metadata, title, and links to CSS/JS.</p>
  </body>
</html>
    

Output in Browser:

Welcome to My Page

The <head> tag contains metadata, title, and links to CSS/JS.

Note: The content inside the <head> tag is not shown on the page directly (except the title in the browser tab). It provides information about the webpage.