What are the css syntax errors?

藏色散人
Release: 2023-01-04 09:38:37
Original
3466 people have browsed it

css syntax errors include: 1. Wrong attribute name or selector name, and the attribute value does not comply with the specification; 2. Wrong use of Chinese or full-width symbols; 3. Incomplete html tags, missing "< ;" or ">" etc.

What are the css syntax errors?

The operating environment of this tutorial: windows7 system, Chrome76.0&&CSS3 version, Dell G3 computer.

Related recommendations: "css Video Tutorial"

What are the common grammatical errors in css?

Take the developer tools of Google Chrome as an example. Generally, grammatical errors will be displayed as the style is crossed out, there will be an icon prompt on the left side of the style, and an English prompt will be displayed when the mouse is moved into it. As shown in the figure below:

What are the css syntax errors?

General syntax errors include:

1. Wrong attribute name, selector name, attribute value does not comply with the specification;

2. The following symbols use Chinese or full-width symbols:

,;{}:
Copy after login

3. The html tag is not completely written, missing "", etc.

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

Related labels:
css
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!