Term
The CSS _____ selector matches elements by node name. In other words, it selects all elements of the given type within a document. |
|
Definition
|
|
Term
The CSS _____ selector matches elements based on the contents of their class attribute. |
|
Definition
|
|
Term
The CSS _____ selector matches an element based on the value of its id attribute. |
|
Definition
|
|
Term
The CSS _____ selector (*) matches elements of any type. |
|
Definition
|
|
Term
The CSS _____ selector matches elements based on the presence or value of a given attribute. |
|
Definition
|
|
Term
List three ways of adding CSS to a website. |
|
Definition
- Inline
- Embedded (in the <head></head> section.
- External .CSS stylesheet
|
|
|
Term
What is the syntax to create comments in a CSS document? |
|
Definition
|
|
Term
List the 5 levels of style precedence |
|
Definition
- browser's internal style sheet
- external style sheet
- embedded style sheet
- inline styles
- user-defined styles
|
|
|
Term
A CSS rule-set consists of a _____ and a _____. |
|
Definition
selector, declaration block |
|
|
Term
A CSS declaration block is comprised of _____ and _____. |
|
Definition
|
|
Term
To select an element with a specific id, write a _____, followed by the id of the element. |
|
Definition
|
|
Term
To select elements with a specific class, write a _____, followed by the name of the class. |
|
Definition
|
|
Term
List the 31 major categories of CSS3 elements (per the CSS3 cheat sheet). |
|
Definition
2D/3D transform, absolute measurement, angles, animations, background, border, box model, color, colors, column, font, frequency, generated content, grid positioning, hyperlink, line box, lists & markers, outline, paged media, positioning, pseudo-class, pseudo-element, relative measurement, ruby, speech, table, template layout , text, time, transitions, UI |
|
|