• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/23

Click to flip

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;

23 Cards in this Set

  • Front
  • Back
Which model does CSS use to control how elements are displayed...
a box model
Which properties are available when working with boxes...
1) the mandatory property is:

the content area

2) the optional properties are:

padding

border

margin
What does a content area contain...
the content of the element
Which two properties does the padding property create a visual space between...
1) the content area, and

2) the border
Which two properties does the border property sit between...
1) the padding, and

2) the margin
Where does the margin allow space to be added...
between the border and other elements on the page
Which box properties are optional...
padding

border

margin
What can you say about the visibility of an element's background...
it WILL show:

under the content and padding

it WON'T show:

under the margin
What scale can be used to set padding and margin sizes...
pixels, or

percentages
How can border widths be defined...
pixels, or

keywords (thin, medium, thick)
How many different styles of borders are there...
8

including:

solid, dashed, dotted, and ridge
What flexibility exists for setting margins, padding, or the border...
all in one go (top, right, bottom, left)

or,

independently, target individual sides
How do you add space between lines of text...
use the line-height property
How do you place an image in the background of an element...
use the background-image property
How do you apply position and tiling behaviour to a background image...
use the properties:

background-position, and

background-repeat
Which attribute allows you to style elements together as a group...
the class attribute
How do you give an element a unique name, or a unique style...
use the id attribute
What is the maximum number of elements on one page that can be assigned the id attribute...
one... one... only one
How can you select elements using their id...
use the id selector

e.g.

#elixirs
How many classes can an element belong to...
more than one class
How many style sheets can you use in your XHTML...
more than one style sheet
If two style sheets have conflicting property definitions, which definition will receive preference...
the style sheet that is last in the XHTML file wil be the definition that overrides the ones that went before it
How can you target different media devices such as printers, monitors, PDAs...
use the media attribute in the <link> element