1 of 11
Back to the lesson. Three tries are used. Read this again, then try the code.
You finished. The lesson is open again.
<p>Hello</p>
A web page is a text file the browser reads. You wrap words in labels so the browser knows what they are. A paragraph label looks like this: <p>Hello</p>. The name of that label is p.
The < starts a label. The p is its name. The > finishes the opening. Hello is the words a person sees. </p> closes the label. The slash means stop. If you open a label, you close it.
Markers look at whether the labels are real and closed. <p> is a paragraph. <h1> is the main heading. Invented names, or a label you forget to close, make the rest of the page fall into the wrong place.
<p>Hello</p><p>Open the paragraph. The browser gets ready for a block of text.HelloThe words a person actually sees. Labels are instructions. This part is the content.</p>Close it. The slash is the only difference from the opening. Close every label you open.The next lesson opens after you practice and pass the assessment.
This paragraph was left open. Close it, then check.
The code is right. Start the assessment when you are ready. The lesson stays closed until both answers are right.
The lesson is closed. Pick one answer each, then mark it. A wrong answer tells you why, what to do, and what to remember.