5 ms·
Because whitespace matters in HTML.
by icantthinkofone 12y ago
Because whitespace matters in HTML.
- ericfontaine 12y agogood point, but could you elaborate?
- icantthinkofone 12y agoOne quick example. Certain elements are, or can be made to be, "inline" which gets them treated the same as characters on a line. Thus those elements, such as an image, will have white space between them as a word does in a paragraph. If you butt those element's tags right next to each other, with no white space between them, then there will be no white space on the displayed page.