0 votes
80 views
in HTML by (3.5k points)
edited

What is the advantage of collapsing white space?

1 Answer

0 votes
by (3.5k points)
edited

White spaces are a sequence of blank space characters, treated as a single space character in an HTML document.

  • The advantages of collapsing white space are 
  • Helps the content of the code to be more understandable and readable to the users.  
  • Decreases the transmission time between the server and the client and removes unnecessary bytes that are occupied by the white spaces.
  • If you leave extra white space by mistake, the browser will ignore it and display the content properly.

Related questions

0 votes
1 answer 122 views
asked Aug 21, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 182 views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

559 users

...