Shared Flashcard Set

Details

Web Design ch. 11
study guide
17
Computer Science
10th Grade
01/03/2009

Additional Computer Science Flashcards

 


 

Cards

Term
"___" elements are used to group related elements together into logical sections.
Definition
Div
Term
Creating logical ________ can help you identify the main content areas, header, and footer of your page.
Definition
Sections
Term
You can use "div" elements to group elements together that need a common _____.
Definition
Style
Term
Use ______ "div" elements to add further structure to your files for clarity or styling. But don't add structure unless you really need it.
Definition
Nested
Term
Once you have grouped together sections of content with "div" elements, you can style the "div"s just like you would any other _____ element. For example, you can add a border around a group of elements using the border property on the "div" they are nested in.
Definition
Block
Term
The _____ property sets the width of the content area of an element.
Definition
Width
Term
The _____ width of an element is the width of the content area, plus the width of any padding, border, and margins you add.
Definition
Total
Term
Once you set the width of an element, it no longer expands to fit the entire width of the browser ______.
Definition
Window
Term
__________ is a property for block elements that centers all inline content in the block element . It is inherited by any nested block elements.
Definition
Text-align
Term
You can use __________ selectors to select elements nested within other elements. For instance, the __________ selector
div h2 (...)
selects all "h2"s nested in "div" elements (including children, grandchildren, etc.)
Definition
Descendant
Term
You can use _________ for related properties. For instance, padding-top, padding-right, and padding-left are all related to padding, and can be specified with one ________ rule, padding.
Definition
Shortcut(s)
Term
Padding, margin, border, background, and font properties can all be specified with _________.
Definition
Shortcuts
Term
The "____" is used to group together related inline elements and text.
Definition
Span
Term
Just like with "div", you can add "span" elements to _______ (or give "span" elements unique ids) to style them.
Definition
Classes
Term
The "______" element is an example of an element with different states. The main "__________" element states are unvisited, visited, and hover.
Definition
A
Term
You can style each of these states seperately with ______________. The ______________ used most often with the "a" element are :link, for unvisited links, :visited, for visited links, and :hover, for the hover state.
Definition
Pseudo-classes
Term
Other elements support the ______ pseduo-class, and some browsers also support the :first-child, :active, and :link pseudo-classes for other elements.
Definition
:hover
Supporting users have an ad free experience!