Skip to content
Justice Tech School

The head Element and Meta Tags

The head holds data about the page that is not shown directly: the title, character set, linked styles and meta tags. meta description gives search engines a short summary of the page.

Always declare the character set with <meta charset="UTF-8"> as the first thing in the head so every language displays correctly.

Example
<head>
  <meta charset="UTF-8">
  <meta name="description" content="Free tutorials for beginners">
  <meta name="author" content="Justice Tech School">
  <title>My page</title>
</head>

Exercise

Complete the meta tag for the character set.

<meta ="UTF-8">

Quiz Test

What is the meta description used for?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.