AgainColours
The profile

1 of 11

A tag is a label

Back to the lesson. Three tries are used. Read this again, then try the code.

You finished. The lesson is open again.

Look here

<p>Hello</p>

In plain words

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.

1 of 3

The labels

<p>Hello</p>

Line by line

  1. <p>Open the paragraph. The browser gets ready for a block of text.
  2. HelloThe words a person actually sees. Labels are instructions. This part is the content.
  3. </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.

Practice

This paragraph was left open. Close it, then check.

Assessment

The lesson is closed. Pick one answer each, then mark it. A wrong answer tells you why, what to do, and what to remember.

What does </p> mean?
Which one is a finished paragraph?