Home  >  Article  >  Web Front-end  >  What does css mean?

What does css mean?

藏色散人
藏色散人Original
2019-04-26 15:02:5031308browse

The full English name of css is "Cascading Style Sheets", which means cascading style sheets. It is a computer language used to express file styles such as HTML or XML; css can not only statically modify web pages, but also Use various scripting languages ​​to dynamically format various elements of web pages.

What does css mean?

CSS is Cascading Style Sheets (English full name: Cascading Style Sheets) is an application used to express HTML (Standard Universal Markup Language) or XML ( A subset of Standard Generalized Markup Language) and other file-style computer languages.

Recommended: "css Video Tutorial"

CSS can not only statically modify web pages, but can also cooperate with various script languages ​​to dynamically modify various elements of web pages. format.

CSS provides a style description for the HTML markup language, defining how elements in it are displayed. CSS is a breakthrough in the field of web design. It can be used to modify a small style to update all page elements related to it.

How CSS works

CSS is a language that defines style structures such as fonts, colors, positions, etc. It is used to describe the formatting and formatting of information on web pages. realistic way. CSS styles can be stored directly in HTML web pages or in separate style sheet files.

Either way, a style sheet contains the rules for applying styles to elements of a specified type. For external use, style sheet rules are placed in an external style sheet document with the file extension _css.

Style rules are formatting instructions that can be applied to elements on a web page, such as paragraphs of text or links. A style rule consists of one or more style attributes and their values. Internal style sheets are placed directly in the web page, external style sheets are saved in separate documents, and the web page links to the external style sheets through a special tag.

The name "cascading" in CSS refers to the way style sheet rules are applied to elements of an HTML document. Specifically, the styles in a CSS stylesheet form a hierarchy, with more specific styles overriding common styles. The priority of style rules is determined by CSS based on this hierarchy, thereby achieving a cascading effect.

The above is the detailed content of What does css mean?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What file is css?Next article:What file is css?