• mp04610@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    A programming language is a set of instructions written by a programmer to deliver instructions to the computer to perform and accomplish a task.

    By that definition, HTML is a programming language.

    • AJMaxwell@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      11 months ago

      HTML is an initialism for HyperText Markup Language. It’s purpose is to provide structure to data and cannot perform logic, the defining feature of programming languages.

      • HollandJim@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        11 months ago

        I guarantee you that the people writing that HTML isn’t a language are the junior devs that use DIVs for everything in their structure, especially actionable elements like buttons or anchors. Let’s ignore that the “DIV is the element of last resort”, as per the html spec. Also, I doubt that anyone suggesting CSS isn’t a language hasn’t picked up a OReilley’s manual on it recently - 1100+ pages, before you get to the glossary. HTML & CSS are quite a powerful combination.

    • Phrodo_00@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      11 months ago

      HTML is not trying to accomplish a task but specifically displaying stuff on the screen. Like a word document, or a jpeg.

      • GroteStreet 🦘@aussie.zone
        link
        fedilink
        English
        arrow-up
        0
        ·
        11 months ago

        HTML is not trying to accomplish a task but specifically displaying stuff on the screen.

        But what if my task is to display stuff on the screen?

      • Phrodo_00@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        11 months ago

        Magic the Gathering is Turing complete but nobody’s calling it a programming language. Expressiveness and purpose are probably more important for calling something a programming language.