What are Cascading Style Sheets? Why are they useful?

What will be an ideal response?


To add presentation information to web pages, web designers use a style language called Cascading Style Sheets (CSS). With CSS you can display information for different devices, lay out page designs, and control typography, color, and many other presentation characteristics.?CSS lets you control the presentation characteristics of an entire web site with a single style sheet document. For example, assume you want all of your

headings to appear green and centered everywhere on your web site. Prior to CSS you might have included the following code for every instance of an

element:?

Some Heading Text

?Using a CSS rule, you can express the same style as follows:?h1 {color: green; text-align: center;}?You can place this rule in an external style sheet and then link every page on your site to that style sheet; the single rule controls every

element in your web site. Later, if you want to change the

color to red, you simply revise the style sheet rule to change every page on your site.

Computer Science & Information Technology

You might also like to view...

The @font-face rule is one example of a CSS @rule, which specifies a command or directive that controls how browsers interpret and run the contents of a CSS style sheet.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following are types of sounds in Flash?

A. key and index B. event and stream C. short and long D. action and dynamic

Computer Science & Information Technology

A hand drawn or computer generated page ____ indicates what a finished page will look like.

A. mockup B. plan C. sample D. none of the above

Computer Science & Information Technology

You know that one way to remove a troublesome background from an image with which you are working is to use Photoshop channels to isolate the background. Before discovering this, however, you have previously used all of the following methods except one to remove backgrounds. Which one of the following could you NOT have used to remove a background?

You have never used channels before but you have heard colleagues tell you how useful they can be, so you decide to do some experimenting yourself. a. Eraser tool b. Delete Background command c. layer masks d. editing selections

Computer Science & Information Technology