Paragraphs (p), online
Six activities your students do on their own devices. See who's finished, and their scores.
Paragraphs (p) in one minute
What students need to know
The <p> element is block-level, meaning it occupies its own horizontal space and begins on a new line. <p> is not self-closing. The text content must sit between <p> and </p> for valid HTML.
The paragraph element is <p>. There is no <para> element in HTML. HTML tag names must be lowercase. The correct form is <p> not <P>.
Mistakes students make
- HTML tag names must be lowercase. <P> and </P> with capital letters are non-standard. The correct form is <p> and </p>.
- The paragraph is closed with <p> instead of </p>. A closing tag must have a forward slash before the tag name.
- The third paragraph is closed with <p> instead of </p>. Closing tags require a forward slash: </p>.
- <paragraph> is not a valid HTML element. The correct element for a paragraph is <p> with its closing tag </p>.
What students will learn in this module
Every question in Module 9
Quick questions
- Which tag is used to create a paragraph in HTML?A<para>B<p>
- True or false: <p> is a self-closing tag and does not need a closing </p>.AFalseBTrue
- Where does a <p> element display on the page?AInline with surrounding textBOn its own line
- True or false: you can nest a <p> inside another <p>.AFalseBTrue
- True or false: <P> with a capital P is valid HTML.AFalseBTrue
Key terms
Students type the meaning of:
<p>
Match the pairs
<p>This is a paragraph.</p>Match it to what it does<p>First.</p> <p>Second.</p>Match it to what it does
<p> is a block-level element - it always starts on its own lineMatch it to what it doesEvery <p> opening tag must be matched with a closing </p> tagMatch it to what it does<p>Missing close tagMatch it to what it does<p><p>Nested paragraph.</p></p>Match it to what it doesFill in the blanks
<___>Hello world</p>
Hint: Type the paragraph element tag name
<p>Welcome to my site</___>
Hint: Type the closing tag name that ends a paragraph element
<body> <___>First paragraph.</p> </body>
Hint: Type the tag name that wraps a block of text as a paragraph
<body> <p>Second paragraph.</___> </body>
Hint: Type the element name needed to close the paragraph tag
<p>Intro text.</p> <___>More details here.</p>
Hint: Type the tag name that starts a new paragraph element
Spot the error
Question 1
A<P>This is a paragraph.</P>B<p>Another paragraph.</p>C<p>Third paragraph.</p>
Question 2
A<body>B <p>First paragraph.<p>C <p>Second paragraph.</p>D</body>
Question 3
A<body>B <p>Intro text.</p>C <p>More content.<p>D <p>Final line.</p>
Question 4
A<body>B <p>First line.</p>C <p>Second line.</p>D <paragraph>Third line.</paragraph>
Question 5
A<body>B <p>Opening paragraph.</p>C <p>Middle text.</p>D <p>Closing text.</p>E <p><p>Nested paragraph.</p></p>
