Advantages of using CSS

CSS is becoming very popular these days and creating layouts using CSS is becoming a standard. The advantages of using CSS are:

  • Easier to make site-wide changes. It is easier to maintain one CSS file rather than modifying each page.
  • Making changes to layout does not affect the HTML or server side code.
  • As browsers cache the style sheet page, the page loading becomes fast. The styles classes are not loaded from server each time, if different pages of same site use the same CSS, the cache is read.
  • As property with value is defined at a common style class and we use the same class at different locations, so we use less code. Less code means less bandwidth consumption and easy to maintain the content.
  • Layout and position of navigation can be completely consistent across a site.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.