Skip to content
doubtly

1 answer

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.
codelikepro · 19 Aug 2022 Report
Was this answer helpful?

Your answer

Log in or create a free account to answer this question.