Antiquated HTML Snippets and Artefacts

(vale.rocks)

58 points | by patadune 2 hours ago

7 comments

  • CM30 6 minutes ago
    Reminds me of how awkward HTML doctypes used to be. Nowadays it's very simple, but in the past? You had to refer to the URL of the doctype declaration on every page

    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    This plus the X-UA-Compatible stuff mentioned in the article meant that for many people, the first few lines of code on a web page were something they probably copied from a tutorial or reference document every time, at least if they didn't have a CMS handy.

  • nness 33 minutes ago
    Forever burnt into my mind is PNG alpha work-arounds in IE:

        filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='image.png');
    • bbx 10 minutes ago
      Ha, fantastic line that one. Transparent pngs caused so much unnecessary trouble in IE6, it was very annoying, and limited our options as graphic designers.
  • cprecioso 1 hour ago
    I'd only add the Safari Pinned Tabs `meta` tag (https://developer.apple.com/library/archive/documentation/Ap...), which had you define a simple black and white SVG. This image would get used when a user pinned your tab in Safari, in color when active and black when inactive.
  • intrasight 25 minutes ago
    Lots of mud at the base of the wall. I think it's a good sign. It'll be a bad sign if this list does't grow.

    I do bemoan the loss of the <?xml-stylesheet?> processing instruction and the JavaScript XSLTProcessor API.

  • Semaphor 1 hour ago
    Ohh, conditional comments. We had so many IE holdouts on our site, I think only around 2021 I removed the last IE specific fallbacks, and I think some conditional comments were a thing until 2020.

    I’m not sure when I removed a bunch of `msapplication-` fields, but probably after 2021 ;)

    I guess I can remove `apple-touch-` and `application-name` stuff next…

  • RobotToaster 53 minutes ago
    GeoURLs seem like they would still be useful today.
  • LoganDark 1 hour ago
    Love the ruby tags on Chinese text!!