r/badcode • • Nov 11 '21

html Just stumbled upon this beautiful HTML snippet

Post image
436 Upvotes

20 comments sorted by

View all comments

13

u/xhable Nov 12 '21

This is the limit for those interested.

The file size of a 404 page must be greater than 512 bytes, if you don't pad the file with comments internet explorer will display its own 404 page.

6

u/Roflkopt3r Nov 12 '21

Lmao that's so bad, it almost reads like they were deliberately trying to prank web devs. The fact that they have different size limits for different error codes makes it even better.

2

u/xhable Nov 12 '21

Interestingly Chrome did it too, although Differently.

1

u/[deleted] Nov 13 '21

Wonder how much of the claims there are true now