CSS advantages
Anonymous Quiz
1%
saves time
0%
Pages load faster
2%
Easy maintenance
97%
All of the above
is an HTML tag at which a style will be applied. This could be any tag
Anonymous Quiz
85%
Selector
10%
Property
5%
Value
CSS selectors are used to "find" (or select) the HTML elements you want to style
Anonymous Quiz
53%
Type selectors
13%
Universal selectors
16%
id Selector
18%
class Selector
uses the id attribute of an HTML element to select a specific element
Anonymous Quiz
4%
Type selectors
2%
Universal selectors
89%
id Selector
5%
class Selector
selects HTML elements with a specific class attribute
Anonymous Quiz
1%
Type selectors
4%
Universal selectors
4%
id Selector
91%
class Selector
To select elements with a specific class, write a .. character, followed by the class of the element
Anonymous Quiz
14%
#
86%
.
The class of an element is unique within a page, so the class selector is used to select one unique element!
Anonymous Quiz
49%
T
51%
F
To select an element with a specific id, write .. character, followed by the id of the element.
Anonymous Quiz
92%
#
8%
.
The id selector uses the id attribute of an HTML element to select a specific element
Anonymous Quiz
94%
T
6%
F
The grouping selector selects all the HTML elements with the same style definitions
Anonymous Quiz
89%
T
11%
F
space
Anonymous Quiz
9%
child selector
76%
descendant selector
7%
adjacent siblings
8%
general sibling
inserting a style sheet
Anonymous Quiz
16%
External CSS
2%
Internal CSS
1%
Inline CSS
81%
All of the above