✏️ Explanatory Question

What is the advantage of collapsing white space?

👁 3,613 Views
📘 Detailed Answer
3,613
Total Views
2
Related Qs
0%
Progress
💡

Answer with Explanation

White spaces are a blank sequence of space characters, which is treated as a single space character in HTML. Because the browser collapses multiple spaces into a single space, you can indent lines of text without worrying about multiple spaces. This enables you to organize the HTML code into a much more readable format.