Starlit Daily

📚 › HTML: build the structure of a web page

15. The head: title, meta and language

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.

Show example

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

✍️ Your turn

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

← Back to course