6
Dominic
7y

Why so many people think HTML is a programming language?

Comments
  • 2
    Because it's Turing complete.
  • 1
    @jmclemo6
    HTML with Css3 is turing complete, well it met one of the criteria from memory anyway (rule 110)

    HTML is Markup like XML.
    It in itself can’t do anything logically.

    But because it’s marketed as a programming language incorrectly people get the wrong information about it.
  • 1
  • 2
    I side with a man much more experienced and knowledgeable than myself:

    https://youtu.be/4A2mWqLUpzw
  • 2
    Because (and this applies to CSS as well) it’s a series of instructions that tells a computer what to do.
  • 2
    @sam9669 Fucking hell
  • 1
    @Kaji incorrect the browser parses and just displays the content. HTML has no logic just markup like xml.
  • 3
    After watching @iam13islucky video,
    I am I agreement with that, the old guys got a point😎

    HTML Is not a “programming” language as most would think of languages to be (like C, Java, C++, PHP)... as these are imperative languages, you have to tell these languages what you want them to do.

    HTML /XML / Markup in general is a declarative language, so you don’t have to tell the “compiler” in this case being a browser “what” to do with it Only that it’s there, the browser just does something on its own terms, unless you add CSS /JS into the mix.

    So yes it’s a programming language by technicality, and no it’s not seen as a programming language in the sense you can’t make it do things on its own.
  • 0
    They include JS when they refer to HTML
Add Comment