8
msdsk
4y

Today I've found code that was generating HTML of ```<ul><li>1. Item</li><li>2. Item</li></ul>``` and I'm seriously reconsidering all my life choices. Fortunately the guy who made this doesn't work with us anymore.

Comments
  • 2
    Maybe he was gonna bamboozle everyone by placing 1400 in the next list item..
  • 3
    Maybe he didn't know the <ol> tag?
  • 4
    @Fast-Nop

    After all, it's an esoteric knowledge, well guarded from those who are deemed not ready for it
  • 4
    @msdsk I've seen people saying, oh HTML is so easy - and then fucking it up left and right. My fav is abusing tags for their default appearance.

    In particular heading levels: nah, h2 looks too big here, let's fuck up the heading hierarchy and use h4 instead, just as if CSS didn't exist.
  • 3
    @Fast-Nop Any time I use <h2 class="h3"> I don't know if I should feel good or bad.
  • 2
    @msdsk I guess the latter - for even having such a class instead of styling the tags directly in the stylesheets. ^^
Add Comment