Shared Flashcard Set

Details

Web Design chapter 8
n/a
32
Computer Science
11th Grade
11/10/2008

Additional Computer Science Flashcards

 


 

Cards

Term
What does "color" do?
Definition
used to set the font of color of text elements
Term
What does "top" do?
Definition
controls the position of the top of the element.
Term
What does "text-align" do?
Definition
use this property to align your text to the left, center, or right.
Term
What does "letter-spacing" do?
Definition
this lets you set the spacing between letters.
Term
What does "background-color" do?
Definition
this property controls the background color of an element.
Term
What does "font-style" do?
Definition
Use this property for italic or oblique text.
Term
What does "border" do?
Definition
this property puts a border around an element. You cna have a solid border, a ridged border, a dotted border...
Term
What does "font-weight" do?
Definition
this property controls the weight of text. use it to make text bold.
Term
What does "left" do?
Definition
this is how you tell an element how to position its left side.
Term
What does "margin" do?
Definition
if you need space between the edge of an element and its content, use margin.
Term
What does "list-style" do?
Definition
this property lets you change how list items look in a list.
Term
What does "line-height" do?
Definition
this property sets the space between lines in a text element.
Term
What does "font-size" do?
Definition
Makes text bigger or smaller.
Term
What does "background-image" do?
Definition
use this property to put an image behind an element.
Term
CSS contains simple statements, called?
Definition
Rules
Term
What does each rule provide?
Definition
the style for a selection of xhtml elements.
Term
A rule consists of what?
Definition
a selector along with one or more properties and values.
Term
What does the selector specify?
Definition
which elements the rule applies to.
Term
True or false
Each property declaration ends with a semicolon.
Definition
True
Term
True or False
All properties and values in a rule go between dashes.
Definition
False, braces
Term
How do you select any element?
Definition
using its name as the selector.
Term
How do you select multiple element names at once?
Definition
by separating them with commas
Term
One of the easiest ways to include a style in html is the ____ tag.
Definition
Style
Term
For xhtml and for sites of any complexity you should...?
Definition
Link to an external style sheet
Term
What element is used to include an external style sheet?
Definition
The link element.
Term
True or false
many properties are inherited.
Definition
true
Term
True or False
You can't always override properties that are inheritied by creating a more specific rule for the element you'd like to change.
Definition
false
Term
use the ____ attribute to add elements to a class.
Definition
class
Term
Use a ___ between the element name and the class name to select a specific element in that class.
Definition
"."
Term
use ______ to select any elements that belong to the class.
Definition
.classname
Term
any element can belong to more than one class?
Definition
true
Term
You can use a validator for css
Definition
jigsaw.w3.org/css
Supporting users have an ad free experience!