2.1. What is CSS style?
While Web site visitors demand more attractive, fast loading, and interesting sites, traditional formatting and page layout are no longer efficient enough to handle more complex design requirements. As a simple example, imagine a page with hundreds of lines and more than 50 paragraphs. Each paragraph is to be formatted by the traditional font face and size attributes. It would be an administrative nightmare to make any changes. Therefore a structural cascading mechanism is urgently needed. To rescue this reusability crisis, W3C came up with an elegant solution called the Cascading Style Sheet (CSS). It is a structure that separates formatting features from the contents of a page.
CSS works by specifying the element you ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access