Difference between revisions of "Intro - CSS"
|Line 21:||Line 21:|
Revision as of 16:25, 17 March 2010
Introduction to Cascading Style Sheets
What is CSS?
CSS (Cascading Style Sheets) is a supplementary extension to HTML allowing web designers to style specific elements on their pages and throughout their site. CSS defines the “style” of a website--elements like typography, color, spacing, positioning, etc. HTML can be thought of as the content or structure with an organization of elements (tags) and CSS applies the style or formatting.
Why use CSS?
- It has become the standard in web design and development: tags are being eliminated and may not be supported by browsers in the future.
- Faster loading for your webpages: less code and smaller pages
- Separation of design from content: ability to control an entire site by only modifying a single file. If you decide later to change the font color of all the menus in the site, it can be done in one easy step.
How CSS Works
CSS is applied to an existing HTML web document--both working in tandem to display web pages.