Review: Head Elements

This is the good head set-up for an HTML document.

HTML
<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="UTF-8">
    <meta name="description" content="A short description...">
    <meta name="author" content="Your Name">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My Way-Cool Awesome Site</title>
    <link rel="stylesheet" href="./css/style.css">
    <style>
      body {background-color: snow}
      h1 {color: purple}
    </style>
  </head>

</html>

Neat-O You can use code blocks like these in your own HTML documents; just be aware of the placeholder text that you’ll need to change!


html document elements head page structure