Term
"___" elements are used to group related elements together into logical sections. |
|
Definition
|
|
Term
Creating logical ________ can help you identify the main content areas, header, and footer of your page. |
|
Definition
|
|
Term
You can use "div" elements to group elements together that need a common _____. |
|
Definition
|
|
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
|
|
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
|
|
Term
The _____ property sets the width of the content area of an element. |
|
Definition
|
|
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
|
|
Term
Once you set the width of an element, it no longer expands to fit the entire width of the browser ______. |
|
Definition
|
|
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
|
|
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
|
|
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
|
|
Term
Padding, margin, border, background, and font properties can all be specified with _________. |
|
Definition
|
|
Term
The "____" is used to group together related inline elements and text. |
|
Definition
|
|
Term
Just like with "div", you can add "span" elements to _______ (or give "span" elements unique ids) to style them. |
|
Definition
|
|
Term
The "______" element is an example of an element with different states. The main "__________" element states are unvisited, visited, and hover. |
|
Definition
|
|
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
|
|
Term
Other elements support the ______ pseduo-class, and some browsers also support the :first-child, :active, and :link pseudo-classes for other elements. |
|
Definition
|
|