What is CSS? What can it do?

Source: Internet
Author: User

What is CSS? What can it do?

Http://www.pcdog.com unknown

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

CSS technology is used when you create a home page to effectively control the layout, Font, color, background, and other effects of the page.

as long as you make some simple modifications to the corresponding Code , you can change different parts of the same page, or the appearance and format of different pages.

it can be used as follows:

(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 using 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 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:
Hello

hard to imagine, if you need to change the font color 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 a complete text that can be interpreted and executed by a browser. Anyone who knows HTML can master it easily. 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.