Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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!


>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?


But 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: