Is there advantages of collapsing white spaces in HTML?

devquora
devquora

Posted On: Feb 22, 2018

 

Yes, Collapsing white spaces is one good way of writing HTML codes in an organized way. White spaces act similar to a single-spaced character and occupy the same size as rest of the characters. By collapsing multiple white spaces, we can indent lines of text and make the code more readable.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    HTML Interview Questions

    What is HTML and what is it used for?

    HTML is a widely used language that gives our webpage a structure. HTML stands for HYPERTEXT MARKUP LANGUAGE. HTML was..

    HTML Interview Questions

    What does HTML stand for?

    HTML means Hypertext Markup Language. This language is basically used for creating web applications and also for web pa..

    HTML Interview Questions

    In which year HTML was first proposed?

    Basically, in 1980, A great physicist Sir Tim Berners -Lee who is a contractor at CERN proposed the way through which documents can be shared easily. So, he prototyped ENQUIRE (a system for CERN), whi..