Benefits of Css for creating web pages

Source: Internet
Author: User

In the video, instructor Niu introduced the simple operation of css following the video, and realized some benefits it brought to the design. After all, it was just getting in touch with this part. Here we will talk about CSS.

 

Css is a feasible and funny web page maintenance method. It helps web designers maintain a large number of pages in a unified manner without the need to adjust every page in a complicated way. its core philosophy is separation of presentation and structure. That is to say, Html is responsible for organizing the Page Structure, and Css is responsible for how to present the content.

 

For the simplest example, we want to display the following words on the page: "Raise the Information Technology of Langfang Normal University". To stand out, I also set the font and color of these words, whether to bold or not. this completes a simple function of displaying text on a webpage. so what exactly does css do? The font, color, and other attributes set are completed.

 

Of course, these jobs can also be carried out directly in Html, but the current web pages are generally rich, with colorful images, audios, videos, and so on, once you want to modify something, it will bring you a lot of trouble, and the trouble will endure, but this trouble is meaningless, so css is a good partner for web designers.

 

Briefly speaking, its advantages: CSS code is more optimized, eliminating bloated code and better webpage layout. HTML uses various attributes of tags to define the effect to be displayed, there will be a lot of code and it will be difficult to maintain it later.

 

Of course, it also has some disadvantages: it is more difficult to understand than the table, and it is also a bit difficult to write. Without HTML, CSS is not necessary at all, but its advantages are greater than its disadvantages, ignored.

 

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.