answersLogoWhite

0

Cascading Style SheetsCSS style sheets are blocks of code that can be embedded in a HTML page or stored in a .css file.

CSS manipulates the elements of a HTML webpage by changing the properties of the HTML elements in the page, such as BODY P or TABLE elements.


CascadingCascading or the Cascade refers to how the the final style will render, if the first block in a CSS sheet defines that all P tags will have black text and be font type Arial, then that will be the case for all P elements. But if in another block further down the page resets the P tag to have text that is green then all text in the P elements will be green. But all P tags will still have Arial type font.

Example Code:
Block 1
p {
color: #000000; /* Set to Black */
font-family: Arial;

}

Block 2
p {
color: #00FF00; /* Set to Green*/

}

And in the case that another Block sets the P tag to have a background color of Blue:

Block 3
p {
bacground-color: #0000FF; /* Set to Blue */

}

Then the final Cascade will result in the P tag being:

Final Cascade
p {
bacground-color: #0000FF; /* Set to Blue */
color: #00FF00; /* Set to Green*/
font-family: Arial;

}

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What type of style sheet uses the style tag?

CSS (Cascading style sheet)


What is the fullform of CSS?

cascading style sheet


What dpes CSS stamd for?

Cascading Style Sheet


What is the use of cascading style sheet in web development?

Cascading Style Sheet is a way of styling your document. It is a set of commands which make a page much more interactive.


What is cascading style script?

CSS (Cascading Style Sheet) is a proramming language that is used with HTML to create the layout of a page.


What is the meaning of cascading?

The cascading that is referred to in the name cascading style sheets refers to how rules can cascade in how they are implement. CSS rules can be found in three places: an external style sheet, and internal style sheet, or inline. Cascading refers to precedence. A rule located inline, will take precedence over a rule located in an internal style sheet and a rule located in an internal style sheet will take precedence over a rule located in an external style sheet. Within a single style sheet (for example an external style sheet) a rule located at the bottom of the style sheet takes precedence over a rule located at the top of the style sheet. This allows you fine tuned control over your styles and how and when they display and which one will display based upon where in the cascading hierarchy they appear.


What does the css stand for in photoshop css?

Cascading Style Sheet


What does the acronym CSS mean?

(if you mean the style sheet language) Cascading Style Sheets


What contains the formats for how a particular object should display in a Web browser?

cascading style sheet (CSS)


What doas css mean?

CSS stands for Cascading Style Sheet, which makes websites beautiful, simply saying.


how many foundation tags are there in HTML?

Foundation is a kind of Cascading Style Sheet. It is also called as Zurb Foundation.


What is the file name extentesion of an externel style sheet?

An external style sheet written to the Cascading Style Sheet standards will have a .css file extension. If you are using notepad you will have to manually set this as the file extension. Most web editors will allow you to select this extension when you go to save the file.