1. Home
  2. Computer Science MCQs
  3. HTML
  4. Which of the following tags is used to insert a line break…

Added 20 Jan 2024

Which of the following tags is used to insert a line break without any extra space?

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

Correct answer

B. <br>

14 views

MCQSEXAM

Explanation

<br> inserts a single line break without adding extra space, unlike a new paragraph. It is an empty (void) element, so it has no closing tag.

It suits content where line breaks are part of the meaning, such as addresses and poems. <lb>, <newline> and <break> are not HTML tags.

Keep preparing with more Computer Science MCQs on MCQsExam.com.

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