What is CSS?
- CSS stands for Cascading Style Sheets
Styles define how to display HTML elements
Styles were added to HTML 4.0 to solve a problem
External Style Sheets can save a lot of work
External Style Sheets are stored in CSS files
This is the definition given by W3Schools for CSS.
Cascading Style Sheets, or CSS for short, are used to do exactly what the name says.
Its code that "Cascades" (flows, travels, ect..) a "style" (theme, skin, design, ect...) across an entire website. In order to color a whole website with HTML you'd have to edit every single file by hand.
Try that on a 1000 page website... even a 20 page website would turn into a nitemare to keep up with.
Fortunately for us developers.. our good friends at World Wide Web Consortium or (W3C), the good people who gave us W3Schools.com, created Cascading Style Sheets to solve that very tedius problem of hand coding styles in all website pages. With CSS you can style every page from one file. Or serveral.....
But most importantly it can be done from a single file.
