Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What is the benefit of collapsing white space in HTML?

user-image
Question added by Feras Abualrub , Web Solutions Manager , Qistas for Information Technology
Date Posted: 2015/04/20
Hicham Ezzahir
by Hicham Ezzahir , IT Support , Self-employed

White spaces are blank sequence of space characters, which is actually treated as a single space character in html. Because the browser collapses multiple space 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.

More Questions Like This