0Pricing
HTML Academy · Lesson

meta charset viewport author and description

Add essential meta tags for rendering and discoverability.

The meta Element

The <meta> element provides metadata about the page. It is a void element — no closing tag:

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="Learn HTML5 from scratch.">
  <meta name="author" content="Jane Smith">
</head>

meta charset

Declares the character encoding:

<meta charset="UTF-8">
<!-- Must be:
  - Inside <head>
  - Within the first 1024 bytes of the file
  - Best: the first tag inside <head>
  - Always use UTF-8 for web pages
-->

All lessons in this course

  1. title and its Role in SEO
  2. meta charset viewport author and description
  3. Canonical URLs and robots meta
  4. Favicon and Apple Touch Icon
← Back to HTML Academy