html is not a programming language, but a markup language used to tell the browser how to organize the page. Reason: HTML language does not have strong logic and process control functions, lacks flexibility, and HTML cannot repeat a work cycle according to human design until an answer is obtained that satisfies humans.
The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.
Whether HTML is a programming language or not is a long-standing debate. In fact, in essence, HTML is not really a programming language.
HTML full name, HyperText Markup Language. Literally understood, HTML is a hypertext language. What is hypertext is that its purpose and meaning have surpassed plain text. Because HTML redefines the format of text, and HTML not only includes text but also audio and video.
Compared with other languages, the literal meaning of HTML is easier to understand, just to facilitate human and machine reading. For example, our common header tags, input tags, line breaks, etc. are all common and commonly used in HTML. Such labels are not only easy to understand for humans, but also easy for machines like computers to understand.
HTML language does not have strong logic. Based on this, many programmers do not recognize HTML as a programming language. Unlike other languages, such as Java, C, Python and other popular languages, these languages have strong logic and flow control functions.
Not only is HTML a problem with no logic and process control, but HTML also lacks flexibility, because HTML is a language defined in accordance with W3C standards and is mainly used to standardize the writing format of HTML documents. Unlike other languages, there are many places that users can customize, and there are ever-changing options.
HTML is not recognized as a programming language. The most important point is that HTML cannot repeat a work according to human design until an answer is obtained that satisfies humans. This is the most important thing and can be easily done in other languages.
Of course, we cannot deny the importance of HTML. As an important veteran in the web field, front-end engineers still have considerable development prospects at this time!
In the eyes of programmers, HTML is not a programming language. Even so, the important role of HTML in the WEB field far exceeds that of any other programming language. The first step for a browser to open a web page is to parse an HTML DOM tree. The simpler, the more important it is.
Recommended tutorial: "html video tutorial"
The above is the detailed content of Is html a programming language?. For more information, please follow other related articles on the PHP Chinese website!