Doesn’t count. HTML is a markup language used to tell the browser how to organize pages, while CSS is a style design language used to express file styles such as HTML or XML; HTML and CSS do not have strong logic and flow control functions. It lacks flexibility, and HTML and CSS cannot repeat a work according to human design until an answer is obtained that satisfies humans.
The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.
html and css are not considered programming languages.
HTML is not a programming language, has no logical processing capabilities, no computing power, cannot dynamically generate content, but can only statically display web page information.
Full name of HTML, 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.
CSS is not a programming language either.
According to a survey, many people also think that CSS is a programming language. But in fact, CSS is not a programming language. If the entire web page is compared to a house, then CSS is equivalent to the decoration list of this house. HTML decorates the entire house based on this list, such as what wallpaper to put on the south wall. , what tiles to use for the floor, what color to use for the sofa, etc. In other words, CSS alone has no effect and must be combined with HTML to take effect. Moreover, CSS does not have any independent execution, logical judgment, etc. capabilities, so it is not a programming language and can only be regarded as data.
Note:
HTML and CSS are not recognized as a programming language. The most important thing is that HTML and CSS cannot be designed according to human design. Repeat the cycle of a piece of work until an answer is obtained that satisfies humans. This is the most important thing and can be easily done in other programming languages.
After you learn HTML css, you can make a simple web page. But it will be relatively monotonous, without eye-catching special effects. At this time, in order to pursue special effects, you will learn JavaScript, or JS for short.
JavaScript is different from the previous HTML and CSS. It is a programming language. Mainly used in front-end development. He can write programs to perform special effects on web pages in terms of opening, clicking, mouse movement, image changes, etc., making your web pages more colorful. All in all, after learning these, you will initially become a front-end engineer.
But we must remember: No matter what kind of technology it is, it is just a tool, created so that we can better realize our ideas. So please don’t throw away your fantastic ideas, maybe your ideas can change the world!
Recommended: css video tutorial, html tutorial, Introduction to Programming
The above is the detailed content of Are html and css considered programming languages?. For more information, please follow other related articles on the PHP Chinese website!