Starlit Daily

📚 › HTML: build the structure of a web page

15. The head: title, meta and language

Este artículo se traducirá automáticamente. Por ahora se muestra en inglés.

The head holds information about the page, not the content. title sets the text on the browser tab and in search results. meta charset="utf-8" makes Bengali, Hindi and Arabic letters display correctly. meta name="description" gives a short summary for search engines.

The lang attribute on html tells browsers and screen readers which language the page uses.

Ver ejemplo

<html lang="bn">
<head>
  <meta charset="utf-8">
  <meta name="description" content="Learn HTML step by step">
  <title>HTML basics</title>
</head>

✍️ Ahora te toca

Write a head with charset utf-8, a title that says Lesson 15, and a description that says Learn HTML.

← Volver al curso