Web development
HTML Document and Content
Updated Oct 28, 2026
Begin with a doctype, an html element with a language, a head containing character encoding and title, and a body for visible content. Use headings in a logical hierarchy, paragraphs for text, links w
What you’ll learn
Understand and practise html document and content.
Explanation
Begin with a doctype, an html element with a language, a head containing character encoding and title, and a body for visible content. Use headings in a logical hierarchy, paragraphs for text, links with href, images with useful alt text, and lists for related items.
ទំព័រ HTML មាន doctype, html, head និង body។ ប្រើ heading និង paragraph សម្រាប់មាតិកា link សម្រាប់តំណ និង alt សម្រាប់ពន្យល់រូបភាព។
Example
<a href="https://example.com">Visit Example</a> creates a link.
Practice
Where does the browser-tab title go?
Answer and explanation
Show answer / បង្ហាញចម្លើយ
Put it inside the title element in the head.
Quick recap
Begin with a doctype, an html element with a language, a head containing character encoding and title, and a body for visible content.