What is CSS? What can it do?

Source: Internet
Author: User

CSS is a technology called stylesheet. Some people also call it Cascading Stylesheet ).

CSS technology is used in homepage creation to control page layout, Font, color, background and other effects more accurately.

You only need to make some simple changes to the corresponding code, you can change the appearance and format of different parts of the same page, or pages of different webpages.

It can achieve the following functions:

(1) It can be used in almost all browsers.

(2) previously, some functions that had to be implemented through image conversion can now be easily implemented with CSS to download pages faster.

(3) make the page font more beautiful and easier to orchestrate, so that the page is truly pleasing to the eye.

(4) You can easily control the page layout.

(5) you can update the style formats of many web pages at the same time without updating them one page at a time. You can use a CSS file to control all the webpage styles on the site. As long as you modify the corresponding lines in the CSS file, all the pages of the whole site will change accordingly.

Think about how we can control the color and size of the font and the font we use before using CSS? We generally use HTML tags for implementation. For example, to implement a simple "HELLO" on the right, its code is:

B> HELLO

It is hard to imagine that if the font color needs to be replaced frequently on a page, the length of the final HTML code must be bloated.

To be honest, CSS was born to simplify such a job. Of course its functions are not that simple.

CSS controls the style of the entire page by controlling the style of the page structure.

The style sheet is placed on the page. It is completely plain text and can be easily understood by anyone who understands HTML. For some very old browsers, pages will not cause page chaos.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.