Web Dee Flashcards
1
Q
Explain cellspacing attribute of tables ?
A
Cellspacing is the space between the inner border and the outer border.
2
Q
What is the order of the Specificity with 3 values and which types are considered for all the 3 different types of specificities?
A
The order in its most basic form is:
id, class, element
#idname , .classname, h1
- In the id type we only take into account the predefined # types.
- We take into account classes and pseudo-classes:
(.class, .container, [type=”password”], :hover, :active, :nth-child, :not, … ,etc. ) - In the last one we take into account the elements (element selectors) and pseudo-elements:
(div, p, h2, :before, :after)
3
Q
A