CSS Introduction
Posted on Thursday, September 27, 2012
|
No Comments
What is CSS?
After applying about code to HTML the output will look like this:
CSS is most useful when creating a large scale websites it will reduce work load. Some HTML elements have same formatting and some same formatted elements should repeat again and again, if we need to change a format it should change all the places of source code it will consume lot of time.
- CSS is abbreviation of Cascading Style Sheets.
- CSS Styles define how HTML element should display.
- CSS is a key component when developing a large website, building a website without CSS is very hard and time consuming work.
- CSS introduced with HTML 4.0
- External Style sheets reduce lot of works and it stored in .css files.
h1 { color:blue; text-align:center; background-color:#DDDDD5; } p { font-family:"Arial"; color:green; font-size:18px; background-color:#CFCFCF; } div { background-color:GreenYellow; color:red; }
After applying about code to HTML the output will look like this:
CSS is most useful when creating a large scale websites it will reduce work load. Some HTML elements have same formatting and some same formatted elements should repeat again and again, if we need to change a format it should change all the places of source code it will consume lot of time.