What will happen if you type five spaces between two words in HTML without  ?

  1. The browser shows only one space
  2. The words disappear
  3. An error occurs
  4. The browser shows five spaces
Answer

A) The browser shows only one space

Whitespace is collapsed.

Computer Science MCQ · More HTML Basics: Structure, Text Formatting and Lists MCQs · Practise