CSS Multiple Choice Question
Question : 1 Which CSS property is used to change the text color?
A
color
B
text-color
C
font-color
D
text-style
Answer:
Question : 2 Which CSS property is used to set the background color of an element?
A
bg-color
B
background-color
C
color
D
foreground-color
Answer:
Question : 3 What does CSS stand for?
A
Cascading Style Sheets
B
Creative Style Sheets
C
Computer Style Sheets
D
Coded Style Sheets
Answer:
Question : 4 Which CSS property is used to control the spacing between lines of text?
A
line-height
B
text-spacing
C
line-spacing
D
text-height
Answer:
Question : 5 Which CSS property is used to make text bold?
A
font-style
B
text-weight
C
font-weight
D
bold
Answer:
Question : 6 Which CSS property is used to specify the space between the border and the content of an element?
A
margin
B
padding
C
spacing
D
border-spacing
Answer:
Question : 7 Which CSS property is used to set the font size of text?
A
text-size
B
font-size
C
font-height
D
size
Answer:
Question : 8 Which CSS property is used to create a shadow effect around an elements border?
A
border-shadow
B
shadow
C
box-shadow
D
element-shadow
Answer:
Question : 9 Which CSS property is used to align text within an element?
A
text-align
B
align
C
text-justify
D
alignment
Answer:
Question : 10 Which CSS property is used to make an element transparent?
A
transparency
B
opacity
C
visibility
D
transparent
Answer:
Question : 11 Which CSS property is used to control the size of an element relative to its parent?
A
size
B
relative-size
C
scale
D
flex
Answer:
Question : 12 Which CSS property is used to specify the order of flexible items inside a flex container?
A
flex-order
B
order
C
item-order
D
flex-item-order
Answer:
Question : 13 Which CSS property is used to control the appearance of the border around an element?
A
border-style
B
border
C
border-appearance
D
border-visual
Answer:
Question : 14 Which CSS property is used to create rounded corners for an element?
A
corner-radius
B
border-radius
C
rounded-corners
D
element-rounding
Answer:
Question : 15 Which CSS property is used to control the display behavior of an element?
A
display
B
visible
C
visibility
D
show
Answer:
Question : 16 Which CSS property is used to create a gradient background?
A
color-gradient
B
background-gradient
C
gradient
D
background-color-gradient
Answer:
Question : 17 Which CSS property is used to specify the style of a list item marker?
A
list-style-type
B
list-marker-style
C
marker-style
D
list-marker
Answer:
Question : 18 Which CSS property is used to control the spacing between letters in a text?
A
letter-spacing
B
text-spacing
C
word-spacing
D
character-spacing