html is called hypertext markup language, which is a kind of identifying language; css means cascading style sheets, which is a computer language used to express file styles such as HTML or XML; js is called JavaScript, which is A lightweight, interpreted or just-in-time compiled, high-level programming language with function precedence.
#In today’s Internet life, we often see CSS, HTML, and js put together, but many people don’t quite understand what they are. , what is it used for? I will learn about it with you below.
First we need to understand what they are?
HTML Hypertext Markup Language describes the structure of the page from a semantic perspective. When it comes to the role of HTML, we can only think about it in terms of semantics, never in terms of style.
CSS Cascading Style Sheets are responsible for page style from an aesthetic perspective.
JS JavaScript describes page behavior from an interactive perspective.
Let’s take a look at the relationship between HTML, CSS, and JavaScript:
A web page is mainly composed of these three parts: Structure, Presentation and Behavior
However, the three components are implemented by HTML CSS JS:
HTML - structure, determines the structure and content ("what") of the web page
CSS - — Performance (style), set the presentation style of the web page (“what it looks like”)
JavaScript (JS) — Behavior, control the behavior of the web page (“what to do”)
HTML is called Hypertext Markup Language and is a identifying language. It includes a series of tags. These tags can unify the document format on the network and connect scattered Internet resources into a logical whole. HTML text is descriptive text composed of HTML commands. HTML commands can describe text, graphics, animations, sounds, tables, links, etc.
Cascading Style Sheets (English full name: Cascading Style Sheets) is a computer used to express document styles such as HTML (an application of Standard Generalized Markup Language) or XML (a subset of Standard Generalized Markup Language). language. CSS can not only statically modify web pages, but can also cooperate with various scripting languages to dynamically format various elements of web pages. CSS can perform pixel-level precise control over the layout of element positions in web pages, supports almost all font sizes and styles, and has the ability to edit web page objects and model styles.
JavaScript ("JS" for short) is a lightweight, interpreted or just-in-time compiled high-level programming language with function priority. Although it is famous as a scripting language for developing Web pages, it is also used in many non-browser environments. JavaScript is based on prototype programming, a multi-paradigm dynamic scripting language, and supports object-oriented, imperative and declarative ( such as functional programming) style.
The above is the detailed content of What is html css js?. For more information, please follow other related articles on the PHP Chinese website!