انتقل للمحتوى
Robo EgyptRobo Egypt
☰ Course contents
Robo Web: home
0. Lab tour1
1. HTML: the page's content7
2. CSS: the page's look6
3. JavaScript: the actions7
4. The project: the to-do list3
5. Pro CSS: shadows and movement5
6. Arrays and building the page with code3
7. Events and forms3
8. Objects and time3
9. Canvas: drawing and games3
10. The final project: the memory game3

How is a web page built?

Section 1: HTML: the page's contentLesson 1.1 · ⏱ 6 min

Every web page is built with three languages that work together:

  • HTML: the content: the titles, paragraphs, pictures and buttons.
  • CSS: the look: the colours, sizes and layout.
  • JavaScript: the actions: what happens when you click.

Robo Web has three tabs with these names, and next to them you see the page change straight away.

📌 Another example: a page in three parts

A title, a paragraph, and a small line at the bottom. Every tag opens and then closes.

🌐 A page in three parts
HTML
<h1>Robo Egypt</h1>
<p>Here we learn to make robots and websites.</p>
<small>Made by: Youssef</small>
CSS
body { font-family: Tahoma, sans-serif; }
🖥️ The page in Robo Web:The page in Robo Web
✍️ Practise
Look at a solved example: an “About me” page with the three languages.
✍️ Practise here in the lessonor open the lab in a new page ↗

🎯 Challenge yourself

Easy

Write an <h1> title with your name in it.

👀 Show the solution
🌐 Solution
HTML
<h1>I am Mona</h1>
CSS
body { font-family: Tahoma, sans-serif; }
🖥️ The page in Robo Web:The page in Robo Web

Result: a big title with the name.

Medium

A title and two paragraphs: who you are, and what you love.

👀 Show the solution
🌐 Solution
HTML
<h1>I am Omar</h1>
<p>I am 10 years old.</p>
<p>I love football and robots.</p>
CSS
body { font-family: Tahoma, sans-serif; }
🖥️ The page in Robo Web:The page in Robo Web

Result: a title with two paragraphs under it.

Hard

A paragraph with a bold word and an italic word.

👀 Show the solution
🌐 Solution
HTML
<p>I love <b>coding</b> and <i>drawing</i>.</p>
CSS
body { font-family: Tahoma, sans-serif; }
🖥️ The page in Robo Web:The page in Robo Web

Result: coding is bold, and drawing is italic.

Finished the lesson? Mark it so your progress counts.