• lowspeedchase
    link
    fedilink
    English
    arrow-up
    10
    ·
    6 months ago

    xHTML

    ‘use strict;’ for HTML is what I was always told, don’t take my word for it!

    • SteveTech@programming.dev
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      2
      ·
      6 months ago

      Just to be that guy, 'use strict'; is specifically for JavaScript, and should still probably be used. With xHTML there were a few different DTDs that went in the DOCTYPE, Strict being one of them.