Recall & Review
beginner
What HTML tag is used to create a line break?
The
<br> tag is used to insert a line break in HTML. It forces the text to continue on the next line.Click to reveal answer
beginner
What does the
<hr> tag do in HTML?The
<hr> tag creates a horizontal rule, which is a horizontal line used to separate content visually.Click to reveal answer
beginner
Is the
<br> tag self-closing or does it need a closing tag?The
<br> tag is self-closing, meaning it does not need a separate closing tag like </br>.Click to reveal answer
beginner
Can you use multiple
<br> tags to add extra space between lines?Yes, you can use multiple
<br> tags in a row to add extra line breaks and create more vertical space.Click to reveal answer
beginner
What is a good real-life example of when to use
<hr> in a webpage?Use
<hr> to separate sections of content, like dividing an article into parts or separating a header from the main content, similar to drawing a line on paper to separate ideas.Click to reveal answer
Which tag inserts a line break in HTML?
✗ Incorrect
The
<br> tag creates a line break. The others do not.What does the
<hr> tag create?✗ Incorrect
The
<hr> tag creates a horizontal rule, which is a horizontal line.Is the
<br> tag a self-closing tag?✗ Incorrect
In HTML5,
<br> is self-closing and does not need a closing tag.Which tag would you use to separate two sections of content visually?
✗ Incorrect
<hr> creates a visible horizontal line to separate content.How can you add extra vertical space between lines?
✗ Incorrect
Multiple
<br> tags add extra line breaks and vertical space.Explain how to use
<br> and <hr> tags in HTML and when to use each.Think about breaking lines vs separating sections.
You got /3 concepts.
Describe the visual effect of
<br> and <hr> tags on a webpage.Imagine reading a book or article.
You got /3 concepts.