Graded A+
How do you select all paragraphs in CSS?
✔✔You can select all paragraphs by using the selector `p`.
What is a CSS rule set?
✔✔A CSS rule set consists of a selector and a declaration block that contains one or more
declarations to apply styles to selected elements.
What does the `margin` property do in CSS?
✔✔The `margin` property creates space outside an element, separating it from adjacent
elements.
What is the default value of the `position` property in CSS?
✔✔The default value of the `position` property is `static`.
How can you change the font style of text in CSS?
✔✔You can change the font style using the `font-style` property, such as `font-style: italic;`.
1
, What does the `float` property do in CSS?
✔✔The `float` property allows elements to be positioned to the left or right, enabling text and
inline elements to wrap around them.
How do you apply multiple CSS classes to a single HTML element?
✔✔You can apply multiple classes by separating them with spaces in the `class` attribute, like
`class="class1 class2"`.
What is the `box-shadow` property used for in CSS?
✔✔The `box-shadow` property adds shadow effects around an element's box.
How do you make a CSS comment?
✔✔A CSS comment is made using `/* comment text */`.
What property is used to control the visibility of an element?
✔✔The `visibility` property is used to control whether an element is visible or hidden.
2