CSS (Cascading Style Sheets) is used to style the HTML Tags for any webpage. Basically CSS describes the look and format of the content and defines how HTML elements are to be displayed on a webpage.
Before continue to learn CSS it is good if someone has a basic understanding of HTML (Hyper Text Markup Language).
Why use CSS
Some benefits of using CSS are:
- It solves a big problem of developers. Before CSS, it was a nightmare to add tags like fonts and color repeatively on each and eavery page of large website.
- CSS style definitions can saved in external CSS files so it is very simple and easy to change the look and format of entire website by changing only this file.
- It provides more attributes for styling the webpage in comparision of plain HTML.
- CSS allow content to be optimized for more than one type of device.
Different CSS Versions
| CSS||1996 || A simple visual formatting model for all the HTML tags.|
|CSS2 ||1998 || This version adds media-specific style sheets like printer, downloadable fonts, tables and element positioning.|
| CSS3|| 1999|| Divided into Modules having new extension features.|