Hacker News new | ask | show | jobs
by davebarrett 5672 days ago
Yes, it does. However, there are other, nicer ways of doing this. For example, you could use a comment that is broken over the line. Using tags like that is asking for trouble in editing, particularly if your code is shared.

But this advice was intended more generally. If you look at the code, and indeed the full source in the spec[1], you'll see that this is a coding style used for all elements; even elements that will never be rendered. It is ugly as hell, easy to break, and difficult for many people to parse.

That's why I recommended avoiding it.

1: http://www.whatwg.org/specs/web-apps/current-work/#the-secti...