What is the correct CSS syntax for making all the <p> elements bold?
A -
p {text-size:bold}
B -
p {font-weight:bold}
C -
style:bold
D -
p{font:bold}
2-
How do you display hyperlinks without an underline?
A -
a {decoration:no underline}
B -
a {text-decoration:no underline}
C -
a {underline:none}
D -
a {text-decoration:none}
3-
How do you make each word in a text start with a capital letter?
A -
text-transform:uppercase
B -
text-transform:capitalize
C -
You can't do that with CSS
4-
How do you change the font of an element?
A -
fon-face:
B -
font-family:
C -
f:
D -
font-style:
5-
How do you make the text bold?
A -
font:b
B -
style:bold
C -
font-weight:bold
6-
How do you display a border like this: The top border = 10 pixels, The bottom border = 5 pixels, The left border = 20 pixels, The right border = 1pixel?
A -
border-width:10px 20px 5px 1px
B -
border-width:10px 1px 5px 20px
C -
border-width:10px 5px 20px 1px
D -
border-width:5px 20px 10px 1px
7-
How do you change the left margin of an element?
A -
padding:
B -
margin:
C -
text-indent:
D -
margin-left:
8-
To define the space between the element's border and content, you use the padding property, but are you allowed to use negative values?
A -
Yes
B -
No
9-
How do you make a list that lists its items with squares?
A -
type: square
B -
list-style-type: square
C -
list-type: square
D -
style-list: square
10-
What is the correct HTML for referring to an external style sheet?