HTML and CSS Certification Practice Test

Image Description

Question: 1 / 400

What tag is used to create a line break in HTML?

<line-break>

<br>

The tag used to create a line break in HTML is the <br> tag. This tag is a self-closing element, meaning that it does not require an end tag to function properly. When inserted into the flow of text, it forces the content that follows it to start on a new line. This is particularly useful in situations where you want to create spacing between lines of text without starting a new paragraph. For example, in poetry or addresses, where line breaks are significant, using the <br> tag allows you to format the text according to your needs without overwhelming the layout with additional structuring tags like <p> (paragraph).

The other options presented do not exist in HTML. Therefore, the <br> tag stands out as the standard and correct method for achieving line breaks within the content on a web page.

Get further explanation with Examzify DeepDiveBeta

<break-line>

<lb>

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy