| |
| |
| Overview |
| |
In this chapter you will learn:
- What is CSS?
- What constitutes CSS?
- Various benefits of using CSS
|
What is CSS?
-
CSS is an acronym for Cascading Style Sheets. It is a series of instructions which specify how a text should appear on a web page.
-
The designing of the text can be done by defining fonts, colors, margins, background, font sizes etc. These elements like colors, sizes, fonts, and spacing constitute "styles".
-
Cascading Style Sheets also means putting different styles on different layers.
-
CSS consists of style sheets that tell a browser how a document would be presented.
-
New features in the old web page can also be added with the help of style sheets.
-
When using CSS, you don't need to apply font, color or size for every paragraph, or every page in the document. Once you create a style sheet, you can save the code once and re-use it as often as required.
|
Benefits of Using CSS
- CSS brings uniformity to web pages.
-
CSS saves you a lot of time and repetitive work. When using CSS, changes need not be made in every web page. You just have to make changes in the style sheet.
-
CSS enables you to load your web pages easily.
-
Layers, like pop-up menu items, can be used in a document.
-
CSS helps you maintain your web pages easily and effectively.
|
| |
| Review Questions |
Fill in the Blanks
- CSS stands for ______.
- Colors, sizes, fonts, and spacing constitute _____.
Solutions
- Cascading Style Sheets
- Styles
State whether True or False
- CSS brings uniformity to a web page.
- With CSS, web pages take time to load.
- With CSS, there is no need to define styles everywhere on a web page.
Solutions
- True
- False
- True
|
| |
| What's Next |
The next chapter will acquaint you with the basic concepts of CSS. The chapter will further elucidate the syntax of CSS, selector, grouping and class selector.
Hop over to the next chapter to get a close-up of CSS. |
|