• @nef@slrpnk.net
      link
      fedilink
      English
      2210 days ago

      It can also include inline JS. HTML alone cannot be turing complete, but HTML+CSS is.

      • Ziglin (it/they)
        link
        fedilink
        English
        510 days ago

        CSS can be included as a style property without requiring the script/style tag though.

        • @filcuk@lemmy.zip
          link
          fedilink
          1410 days ago

          Those are still two different languages. HTML isn’t an umbrella term for HTML+CSS in any form.

        • Fushuan [he/him]
          link
          fedilink
          510 days ago

          I can write a .ini code where a value of a key is a binary that the interpreter runs. Are ini files a programming language? Hell no, and neither is html.

          Is R a compiled programming language because several of its built in functions run compiled C code? No.

          • Ziglin (it/they)
            link
            fedilink
            English
            110 days ago

            The point in that case would be that while not intended it could be used as a programming language. The R example seems unrelated. Every language must run compiled code at one point or else the CPU wouldn’t know what to do.