Ask HN: Why is Amazon's HTML crazy?
Not to mention all of their CSS is inline
Why is it like this? It seems to me it is far more complex than it needs to be
Not to mention all of their CSS is inline
Why is it like this? It seems to me it is far more complex than it needs to be
[+] [-] gee_totes|13 years ago|reply
* Newlines seperating HTML tags (check)
* Semi-semantic class and id names (check)
* Can read it with raw view-source (check)
You wanna see something really crazy? View-source on this one:
https://plus.google.com/101139676677179148632/about?hl=en
[+] [-] rzimmerman|13 years ago|reply
<!-- MEOW -->
[+] [-] samdunne|13 years ago|reply
[+] [-] fadzlan|13 years ago|reply
The store front probably just gather all this stuff to produce the final page that you see.
[+] [-] houjieth|13 years ago|reply
[+] [-] brudgers|13 years ago|reply
And most importantly, no one is allowed to do it because it does not need to be done.
White space is free as in beer (when all the bandwidth available for AWS is a sunk cost).
[+] [-] wcfields|13 years ago|reply
[+] [-] ibudiallo|13 years ago|reply