Student-friendly HTML, CSS, and JavaScript reference with examples
The <head> section contains information about your page that doesn’t appear directly on the page itself.
<head>
<title>My Page Title</title>
<link rel="stylesheet" href="style.css">
</head>
Common things that go in the <head>:
<title> - The page title shown in browser tabs <link> - Links to CSS stylesheets <meta> - Metadata like character encoding or viewport settings
The <head> always comes before the <body> tag.