1. Home
  2. Computer Science MCQs
  3. HTML
  4. Which HTML element is used to create a line break?

Added 10 Feb 2024

Which HTML element is used to create a line break?

  1. <break>
  2. <br> Correct answer
  3. <lb>
  4. <linebreak>

Correct answer

B. <br>

15 views

MCQSEXAM

Explanation

The correct answer is <br>. The <br> tag is used to create a line break in HTML, forcing the text to move to the next line. It is a self-closing tag, meaning it does not require a closing tag. The <br> tag is commonly used to break lines of text or to add space between elements in a document.

Reference

https://www.w3schools.com/html/html_formatting.asp

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More HTML MCQs

Practise all HTML MCQs

Similar MCQs