What are the advantages of CSS?


CSS handles the look and feel part of a web page. Using CSS, you can control the color of the text, the style of fonts, the spacing between paragraphs, how columns are sized and laid out, etc.

The following are the advantages of CSS −

  • CSS saves time − You can write CSS once and then reuse the same sheet in multiple HTML pages. You can define a style for each HTML element and apply it to as many Web pages as you want.

  • Easy maintenance − To make a global change, simply change the style, and all elements in all the web pages will be updated automatically.

  • Global web standards − Now HTML attributes are being deprecated and it is being recommended to use CSS. So it's a good idea to start using CSS in all the HTML pages to make them compatible with future browsers.

  • Platform Independence − The Script offer consistent platform independence and can support latest browsers as well.

Updated on: 30-Jul-2019

15K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements