o‘zing o‘rgan
HTML & CSS: My First Website Lesson 1 / 18
Qunduz

What is HTML? Tags

The skeleton of a page: headings and paragraphs

Chapter 1. Building a page 10 minutes Video HTML/CSS 3 questions

Every web page has three parts: - HTML — the skeleton: what is there (headings, text, images, buttons) - CSS — the clothes: how it looks (colour, font, layout) - JavaScript — the behaviour: what it does

HTML is written with tags. A tag opens <p> and closes </p>, with content inside:

<h1>My website</h1>
<p>Hi! I'm learning HTML.</p>
Tag What
<h1> … <h6> headings (h1 is the biggest, one per page)
<p> paragraph
<strong> bold, important text
<em> italic, emphasised text
<br> line break (no closing tag)

Tags nest inside each other:

<p>Today is a <strong>really</strong> nice day.</p>

💡 The editor below shows the result as you type — experiment!

Common mistakes

  • Forgetting to close a tag: <p>Hi — everything after it falls into that paragraph.
  • Closing tags in the wrong order: <p><strong>…</p></strong> — close the inner one first.

📚 Free resources

Video lesson

Practice HTML/CSS

Make a small page about yourself: - an h1 heading — your name - at least one p paragraph - one important word inside the paragraph wrapped in strong

index.html Ctrl+Enter — run
Result — live preview
The result appears above as you type. When ready — «Check».
Show solution
<h1>Aziz</h1>
<p>Men <strong>dasturchi</strong> bo'lmoqchiman.</p>

Check yourself

Question 1 / 3

What is responsible for how a page looks (colour, font)?

Choices

Question 2 / 3

Which tag makes a paragraph?

Choices

Question 3 / 3

Which one is correct?

Choices