loading...

Discussion on: Why do some popular websites have cryptic page sources

Collapse
ahferroin7 profile image
Austin S. Hemmelgarn

I would encourage you to take a look at the HTML output from tools like Adobe Dreamwever or other similar WYSIWYG HTML editors. It's quite often horrendous unintelligible code that's functionally useless for anything except being used in the editor that generated it or displayed in a web browser.

As a general rule, when you see that type excessive tag usage, it's a code generator of some sort that's to blame. Sometimes you do need a lot of <div> elements (see for example Bootstrap dialogs, they actually do need all the involved <div>'s to properly handle styling in a uniform manner), but most of the time it's a case of lazy code generation, not actual need.

Styles are often a more complicated case to concretely diagnose though, but most cases seem to be people trying to circumvent some of the behavior of CSS (usually because they don't understand how to actually use it to do what they want in a much more efficient way).

Collapse
daveson217 profile image
David Babalola Author

Thanks, Austin. I would check it out.