HTML bootcamp · Lab 20

A thematic break

easyFormatting5 minLesson: Formatting

Read the question, write HTML on the right, then Preview or Check.

QuestionHint and solution stay closed until you open them

Insert a horizontal rule <hr> between two paragraphs with text Top and Bottom.

Examples

Example 1
Expected
p / hr / p
Hint
  1. <p>Top</p><hr><p>Bottom</p>
Show correct code

Peek only after you have tried. You can still Check your own version.

<p>Top</p>
<hr>
<p>Bottom</p>
index.htmlLive preview · Check reads the DOM
ResultIdle
Run to see output. Check grades the tests.