Re:The ﹤main﹥ element
by aroberge on Wednesday September 11, 2013 @08:07AM
(#6366617)
The nightmare of divs makes it hard to find the end div unless someone is disciplined enough to indent the code consistently OR if comments are inserted at the end of divs as in
Using semantic tags makes it much easier to see the structure.
[ Parent
| on HN ]
I indent religiously, and I comment, but I use a lot of static site generator-type software and I've yet to find one that doesn't completely ruin the indentation in the output, even with the various kinds of HTML-prettify plugins.