Which HTML tag is commonly used to create a line break?

Get more with Examzify Plus

Remove ads, unlock favorites, save progress, and access premium tools across devices.

FavoritesSave progressAd-free
From $9.99Learn more

Study for the WGU C779 Web Development Foundations Exam. Ace the test with our flashcards and multiple choice questions, complete with hints and detailed explanations. Be fully prepared for your web development certification!

The tag used to create a line break in HTML is the <br> tag. This tag is an empty element that does not have a closing counterpart and is used specifically to insert a line break in the text. For example, if you want to space out lines of text within a paragraph or ensure that content appears on a new line without starting a new paragraph, the <br> tag is the appropriate choice.

In contrast, the <p> tag is designed to define entire paragraphs of text, adding space above and below the paragraph, rather than just creating a simple line break. The <hr> tag is used to create thematic breaks in content, typically represented as a horizontal line, while the <div> tag is a block-level element used for grouping and structuring larger sections of HTML, often accompanied by styling or scripting rather than for creating line breaks.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy