Lesson 7 of 29 · HTML Basics
Boss: Build an HTML Profile Page
The Blank Page Wraith blocks the way. Every test you pass deals damage — pass them all to defeat it and claim a loot chest.
The Blank Page Wraith drifts through the Painted Cliffs, wiping every page it touches back to nothing. Rowan the Code Ranger is next on its list — unless you fill Rowan's profile page with so much real content that the wraith has nothing left to erase.
Battle plan
This fight uses everything from Chapter 1:
- one
<h1>for the page title, and<h2>headings for the sections - a paragraph with
<strong>around the important words - an
<img>withsrc,altandwidth - an unordered list (
<ul>) and an ordered list (<ol>) - a link to a section of the page (
#id) and a link to another website that opens safely in a new tab
A section that starts with a heading and continues with a list looks like this:
<h2 id="pets">Pets</h2>
<ul>
<li>Owl</li>
<li>Cat</li>
</ul>
Assignment
Build Rowan's profile inside <body>, from top to bottom:
- An
<h1>:Rowan the Code Ranger. - An image with
src="/icons/owl.svg", the alt textPip the owlandwidth="120". - A paragraph:
I am a level 7 web adventurer.— withlevel 7in<strong>. - A link with the text
Jump to my skillsthat points to#skills. - An
<h2>with the textSkillsand the idskills, directly followed by an unordered list:Headings,Links,Images. - An
<h2>with the textNext quests, directly followed by an ordered list:Learn page structure,Build a sign-up form,Style a page with CSS. - A last paragraph,
Find my notes on MDN Web Docs., in whichMDN Web Docsis a link tohttps://developer.mozilla.orgthat opens in a new tab withrel="noopener".
Every passing test is a hit on the wraith. Land all ten to banish it for good.
Keep learning
Need a quick reminder? The HTML & CSS cheat sheet has every topic of Learn HTML & CSS on one page.
Lesson last updated on .