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.

عرض المثال

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

✍️ دورك الآن

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

← العودة إلى الدورة