All labs
beginnerHTML & CSS
Build Your First Web Page
You will learn to
- Structure a semantic HTML document with proper tags
- Format text using headings, paragraphs, strong, and emphasis tags
- Create ordered and unordered lists
- Style elements with CSS colours, margins, padding, and fonts
- Understand the Box Model by applying borders and spacing
Before you start
- No experience needed, this is a true starting point
- The in-browser Code Sandbox (embedded below)
Your workspace
Loading editor...
Preview
Press Run to see your page
Console
console.log output appears here.
Step-by-step
1. Understand the HTML Skeleton
Done when: The preview shows your name as a large main heading2. Add a short biography
Done when: A formatted paragraph appears under your heading with bold and italic text3. List your skills and goals
Done when: Both a bulleted list and a numbered list are visible in the preview4. Introduce CSS Styling
Done when: The page background changes to a soft gray and the font updates to Arial5. Style your headings
Done when: Your name is centered, blue, and has a red line underneath it6. Apply the Box Model to lists
Done when: Your lists now look like modern floating cards on the gray background
Finished every step?
Reflect
- What is the difference between an unordered list (ul) and an ordered list (ol)?
- Explain the difference between `padding` and `margin` in CSS based on how your list cards changed.
- Why is it important to separate HTML (structure) from CSS (presentation)?