• labsin@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    10 months ago

    No, the html file itself. It just contains elements like a paragraph, image, list, table,… just like a word document.

    • Bob@feddit.nl
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      So you mean for example that typing <p>…</p> is more comporable pressing enter in Microsoft Word? But then you’re typing a code instead, no?

      • CapeWearingAeroplane@sopuli.xyz
        link
        fedilink
        arrow-up
        2
        ·
        10 months ago

        Yes, typing <p> in HTML is like pressing enter in word, but that doesn’t make it a programming language, it makes it a markup language.

        A markup language is also what you can use to format comments here: You use a specific syntax to indicate how you want things formatted.

        The separation from a programming language is that a programming language can be used to implement logic, like saying: In the following paragraph, a word should be bold if it contains the letter “A”. That cannot be done with a markup language.</p>