Already Passed
What does the "display" property do in CSS?
A) It changes the font color.
✔✔B) It sets how an element is displayed on the page.
C) It adjusts the element's border.
D) It alters the background image.
What does the "margin" property control?
A) The space inside an element.
✔✔B) The space outside an element.
C) The font size of the text.
D) The background image.
Which property is used to change the text color in CSS?
✔✔A) color
B) text-color
C) font-color
1
, D) background-color
How do you center a block element horizontally?
A) By using "align: center;"
B) By setting "margin: auto;"
✔✔C) By setting "margin-left" and "margin-right" to "auto."
D) By setting "text-align: center;"
What property is used to create space between an element's content and its border?
A) margin
✔✔B) padding
C) border-spacing
D) space
What does the "position" property determine?
✔✔A) The positioning of an element in relation to its normal position.
B) The size of an element.
C) The color of the element.
2