What is CSS?

php中世界最好的语言
Release: 2020-09-05 14:58:46
Original
18078 people have browsed it

CSS stands for Cascading Style Sheets. The Chinese translation is "Cascading Style Sheets", referred to as CSS style sheet. It is a computer language used to express file styles such as HTML or XML. It is a standard style sheet. A language used to describe the presentation, i.e. layout and format, of a web page.

What is CSS?

Using CSS technology when making web pages can effectively achieve better layout, fonts, colors, backgrounds and other effects. Precise control. As long as you make some simple modifications to the corresponding code, you can change the appearance and format of different parts of the same page, or web pages with different pages.

The role of CSS:

CSS can control the layout, color, background, width, height, and font of the web page, so that the web page can be customized according to your art The design layout is more beautiful and beautiful.

What does CSS look like?

First of all, CSS is composed of English words and values ​​​​with certain meanings and functions, and the words used have regular attributes and usage

CSS styles There are three types of tables:

Style sheets for external links. Refers to using CSS files to link to HTML files.

Internal style sheet. It refers to the style sheet in the head of the HTML page (in the head), in the form:

<style type="text/css">
声明{ 属性: 值;}
</style>
Copy after login

embedded style sheet. It refers to the style embedded in the HTML tag, in the form of style="Attribute: value;"

As shown:

What is CSS?

##Related reading:


css water wave button special effect

CSS3 tips for drawing various basic graphics

Do you understand these css principles?

The above is the detailed content of What is CSS?. 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!