Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
18 Cards in this Set
- Front
- Back
What are the simple statements in CSS referred to as...
|
rules... rules... rules
|
|
What does each rule in CSS provide...
|
the style for a selectionof XHTML elements
|
|
What does a typical rule consist of...
|
1) a selector, and
2) one or more properties and values |
|
What does the selector specify...
|
which elements the rule applies to
|
|
How is each property declaration ended...
|
with a semicolon
; |
|
How are properties and values of a rule grouped together...
|
between curly braces
{} |
|
How do you select any element...
|
by using its name as the selector
|
|
How do you select multiple element names at once...
|
by separating element names with commas
|
|
What's one of the easiest ways to include a style in HTML...
|
use the <style> tag
|
|
When should you link to an external stylesheet...
|
for:
XHTML, and sites of any complexity |
|
What element is used to include an external style sheet...
|
the <link> element
|
|
How do you ensure that a property is in all elements...
|
use the inheritance feature
define the property at the highest node in the tree hierarchy and it will be inherited by each one beneath |
|
How do you override properties...
|
define a more specific rule for the element you'd like to change
|
|
How do you add elements to a class...
|
use the class attribute
|
|
How do you select a specific element in a class...
|
use the "." character between the element name and the class name
|
|
How do you select any elements that belong to a class...
|
use ".classname"
|
|
If you place multiple class names in a class attribute (with spaces between the names), what effect will this have on the an element...
|
the element belongs to more than one class
|
|
How would you validate your CSS...
|
use the free W3c validator, at:
http://jigsaw.w3.org/css-validator |