Forum Moderators: open
If using line breaks can these cause parsing errors as seen in the above code example.
Should all be set as one line without linebreaks or does it not matter. I only know line-breaks differ in Windows, mac , Unix? But in this case we have a metatag will it cause any faults?
W3C Validator for HTML [validator.w3.org]
Although lots of programs that read your code may recover from that error, I would still suggest avoiding it - especially because this break occurs within a quoted attribute value. Why take any chances?
same here goes for javascript -there you use ; for a linebreak.
the whole idea is that the keywords should stay as a whole between those double quotes.
Sure it is no problem the browser does read over those linebreaks.
Just I think you better practise writing clean code and avoid linebreaks.