I think it's the fact that it's a mess that makes people who strive to write correct code and keep it all neat and tidy look down on webdev. It's sort of a variation of the "clean" vs. "messy" roommate conflict. Messy loses status in an industry that aspires to be "scientific." Not that it should be that way, just my take on similar observations.