Ibnovate Course 1 · The Young Builders
⏱ 60 minLive session

Session 19 — Your First Web Page

Duration: 60 min · Format: live online

What you'll learn: by the end, you can explain that a web page is built from HTML "building blocks," write headings, paragraphs, an image, and a link, and see your own page come alive in the browser.

Soft skill focus — Curiosity

Today you'll also grow Curiosity. Every website you've ever visited is secretly made of HTML, and today you get to peek behind it and find out how.

Try this: guess what the "secret code" behind YouTube or a game site is — then, in CodePen, change a tag just to see what happens. The best questions start with "I wonder what this does…"

Think about: What is one thing about how web pages work that you're now curious to find out?

What you'll need


Hook

Think about these questions:

Here's the big idea: the bricks are called HTML, and today you'll stack your own bricks and build a real web page you can see in the browser.


Teach — What is HTML? Headings and paragraphs

Here are the key words:

Use this diagram to see how the HTML tags you write turn into the finished web page people see in the browser:

Diagram of a web page's anatomy: on the left, HTML code with a heading tag, paragraph tags, an image tag, and a link tag; an arrow points to the right showing the same tags rendered as the visible page — a big title, paragraphs of text, a picture, and a clickable link

Type this in CodePen (in the HTML box):

<h1>My Amazing Page</h1>
<p>Hello! This is my very first web page.</p>

Look at what appears on the right: <h1> makes a big heading, <p> makes a normal paragraph of text.

⚠ Watch for the #1 beginner mistake: forgetting the closing tag or the slash in it. <h1>Hi<h1> is wrong; it must be <h1>Hi</h1>. Try leaving the slash out and see what breaks, then fix it.

Add a few more so you can see the pattern:

<h1>My Amazing Page</h1>
<h2>About Me</h2>
<p>I am 9 years old and I love drawing.</p>
<p>My favourite food is pizza.</p>

Quick question: what's the difference between <h1> and <h2>? (<h1> is the biggest title; <h2> is a smaller sub-heading.)


Two of the most fun tags let you add a picture and a clickable link.

Type this in CodePen:

<img src="https://picsum.photos/300/200" alt="A random photo">

Here's each part:

⚠ Watch for: the src must be a real link wrapped in quotation marks. If the picture doesn't show, check for a typo in the link or a missing quote ".

Now a link — type this in CodePen:

<a href="https://www.nasa.gov">Visit NASA</a>

Quick question: what would you change to make the link go to a different website? (Answer: change the address inside the href="..." quotes.)


Activity — Build your own page

Build your own page (≈20 min). Open your own new Pen at CodePen. Your page must include all four building blocks:

  1. One <h1> title — the name of your page (e.g. "All About Me").
  2. At least two <p> paragraphs — facts about yourself or a favourite topic.
  3. One <img> — paste an image link (a safe one: https://picsum.photos/300/200).
  4. One <a> link — to a website you like.

If a tag looks broken, read it out loud as "open… close" to spot a missing partner.

Remember: you just wrote real HTML — the same kind of code used on every website in the world.


Check yourself

Try these — answers are after the arrow.

  1. What does HTML do? → It's the code that tells the browser what to put on a web page.
  2. What is missing here: <p>Hello? → The closing tag </p>. It should be <p>Hello</p>.
  3. Which tag makes a big heading, and which makes a clickable link?<h1> makes a heading; <a> makes a link.

Wrap-up


Tips & extra challenges

<h2>My Top 3 Foods</h2>
<ul>
  <li>Pizza</li>
  <li>Mango</li>
  <li>Ice cream</li>
</ul>

Then see if you can explain why <li> items sit inside <ul>.

Vocabulary

Term Meaning
HTML The code that builds a web page
Tag A code word in angle brackets, like <p>
Opening / closing tag The pair that starts and ends, like <p> and </p>
Heading Big title text, made with <h1> or <h2>
Paragraph Normal block of text, made with <p>
Image A picture on the page, made with <img>
Link Clickable text that jumps to another page, made with <a>

Resources

Practice set

Practise on your own. Answers are after the arrow.

  1. What do the letters HTML stand for, roughly, and what is it for?HyperText Markup Language — the code that tells the browser what to show on a page.
  2. Write the HTML for a big heading that says "My Pets."<h1>My Pets</h1>
  3. Fix this broken tag: <p>I like football<p> → The closing tag needs a slash: <p>I like football</p>
  4. Which tag adds a picture, and what does its src part hold? → The <img> tag; src holds the web address of the picture.
  5. Write a link with the words "Play a game" that goes to https://scratch.mit.edu.<a href="https://scratch.mit.edu">Play a game</a>
  6. Your image won't show up. Name two things you'd check. → The src link is spelled correctly and is a real address; the quotation marks " around the link are both there.

Going deeper (optional)

Common mistakes & fixes

If it's not working, check these common mix-ups:

What's next

Session 20 — Make It Yours: you'll learn CSS to add colours, fonts, backgrounds, and spacing, and give your page its own style.

Ibnovate · Build · Innovate
Type to search · Esc to close
Welcome back
Sign in to continue building.
Accounts are created by Ibnovate — ask your instructor for your login.
🔒