answersLogoWhite

0

CSS allows you to define global styles, or formatting choices (font style, text color, background color, etc) and apply those styles to all the pages within a website without having to repeatedly write the code into the HTML document. It saves lots of time during the initial design of a site, ensures the pages have a universal look and feel, and makes it incredibly easy to update the format of an entire website.

For example, if Amazon.com, which has thousands of individual web pages, did not use CSS and wanted to change their font from Arial to Helvetica, their design team would have to open and modify each of those thousand of pages individually. Using CSS, however, they simply change one line of code in the CSS document and every page will display the new font.

User Avatar

Wiki User

13y ago

What else can I help you with?