3 ms·
I just hate when the web browsers renders differently depending on if you have a line break between certain elements. Line breaks in HTML source code should not
by z3t4 8y ago
I just hate when the web browsers renders differently depending on if you have a line break between certain elements. Line breaks in HTML source code should not matter!
- ldjb 8y agoBut what if you want to use elements like <pre> or <textarea>? How would you put in a line break on the rendered page? I suppose there's an argument to be made for not rendering line breaks as a space, but such a change to the HTML spec at this stage is probably not going to happen.
- 8xde0wcNwpslOw 8y ago>Line breaks in HTML source code should not matter! So, should you put spaces at the end, or at the beginning of lines in text that's broken into multiple lines?
- deleted 8y ago[deleted]