freecourses.digital
Lesson progress: 0 of 3 activities done
All lessons in HTML Basics for Beginners Lesson 2.4 of 34

Module 10: Practice Project and Validation

  1. 10.1Build a simple HTML website

Writing your first webpage

In this lesson

  • Planning a page before coding
  • Writing a full profile page from scratch
  • Checking it on desktop and phone
  • Fixing the first errors you will meet

Short answer

Your first webpage only needs the boilerplate, one <h1>, a few paragraphs, and maybe a link. Plan the content on paper first, then type it into the body. Save, open in the browser, and check it on your phone. You will grow this page into a full website in Module 10.

Plan before you code

Write the content first, in plain words. For a personal profile page:

  1. Your name (main heading)
  2. One sentence about what you do
  3. Two or three short paragraphs about your skills
  4. A way to contact you

Planning first means you only think about tags when you code, not about what to say.

The finished code

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Ana Reyes | Virtual Assistant in Naga City</title>
  <meta name="description" content="Ana Reyes is a virtual assistant in Naga City who helps small businesses with email, scheduling, and social media.">
</head>
<body>
  <h1>Ana Reyes</h1>
  <p>Virtual assistant for small businesses in Bicol and beyond.</p>
  <p>I manage inboxes, schedule appointments, and post on Facebook pages.</p>
  <p>I have helped bakeries, resorts, and clinics save over ten hours a week.</p>
  <p>Email me at <a href="mailto:ana@example.com">ana@example.com</a>.</p>
</body>
</html>

Check your work

  • Does the browser tab show your title?
  • Do special characters like ñ show correctly? If not, check the charset.
  • Open it on your phone. Is the text readable without zooming? If not, check the viewport tag.
  • Does the email link open your mail app?

Fixing early errors

What you seeLikely cause
The whole page turns boldA missing </strong> or </b>
Code shows on the page as textA typo in a tag, like <p without >
Strange characters like ñMissing meta charset utf-8
Nothing changedYou did not save, or you opened a different file

Try it: build your profile

Replace Ana’s details with your own. Keep the structure, change the words.

Live preview

Quick quiz

1. What should you do before writing code?
2. Text shows ñ instead of ñ. Why?
3. Which link opens an email app?
4. How many h1 elements should a simple page have?

Common mistakes

  • Starting with design. Get the HTML right first. Styling comes later.
  • Not testing on a phone. Most visitors in the Philippines browse on mobile.
  • Long walls of text. Split ideas into short paragraphs.

Your action

Tick each item when you can do it. Your progress saves on this device.

Key terms

mailto link
A link that opens the visitor's email app.
Profile page
A simple page introducing a person or business.
Testing
Checking a page in different browsers and devices.

Questions beginners ask

Can I use this page for job applications?

Yes. A simple HTML profile on GitHub Pages is a nice touch for VA and web roles.

How do I add a photo?

You will add images in Module 5.

Why does my page look plain?

It has no CSS yet. Plain is normal at this stage.

Related lessons

Need a website built or fixed while you practice? The team at Remar Digital can help.