Is HTML5 a programming language?

后端 未结 3 791
眼角桃花
眼角桃花 2021-02-05 17:36

Nowadays, we can use HTML5 to make apps, as in android, in firefox os, iPhone, Blackberry and others. But, I heard that HTML is a Markup language, not for programming. Even with

相关标签:
3条回答
  • 2021-02-05 18:24

    HTML5 is considered a technology. Yes, there is 5th release of HTML markup language but probably you didn't mean that.

    HTML5 is more considered to be a technology including HTML,CSS3 and javascript and most of all their support in tools like browsers. So as a matter of fact it can be considered as something that requires programming.

    0 讨论(0)
  • 2021-02-05 18:34

    Short Answer: No.

    Long Answer: No, it isn't. HTML as defined by the standard is just a markup language, exactly as it was in its previous versions.

    But what does that mean? It means that it is supposed to structure your data allowing you also to define semantics with the use of markers, but it cannot process or modify your data as you would do using a programming language. Also it has no concept of input or output as is the case in programming languages​​, where you get an input to analyze and produce an output.

    By the way HTML5 is coming out alongside a wider interest for the web and also stronger technologies (such as newer versions of javascript and css) which make new web applications even more powerful and limitless.

    Please, read this great resource to learn more about HTML5.

    0 讨论(0)
  • 2021-02-05 18:34

    Programming languages have certain features, like branching, looping, that sort of thing, that HTML5 lacks. HTML5 defines markup for some interactive features, but the markup is almost entirely static (there's some interaction implied in the definition of select elements and such). A lot of "HTML5" features you hear about aren't HTML5 at all, but rather things you can do with JavaScript (a programming language) in a modestly-capable browser.

    HTML5 is increasingly taking over (or has taken over) the role of defining both the structure of web pages and the API to interacting with them from a programming language. That used to be quite separate, in the DOM specs, but a lot of that is now being folded into the HTML5 specification. But again, that's just defining APIs. The actual coding using those APIs requires (in almost all cases) an actual programming language.

    0 讨论(0)
提交回复
热议问题