W3Schools CSS Quiz Latest Update
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?
...
W3Schools CSS Quiz Latest Update
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
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller StellarScores. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.99. You're not tied to anything after your purchase.