To control the white space around text within an element, the CSS property ________ is used.
- border
- margin
- padding
- spacing
The margin property in CSS is used to control the white space around the outside of an element. It defines the space outside the border, creating a gap between adjacent elements.
Loading...
Related Quiz
- When should a developer consider removing vendor prefixes from their CSS, and what is the risk associated with this action?
- The position: ________ property creates a new stacking context and positions an element in relation to the browser viewport.
- You are optimizing a website for international audiences with diverse visual capabilities. Which CSS approach is most effective in ensuring that the website remains usable and accessible across different regions and user needs?
- Describe how CSS custom properties (CSS Variables) can be used to streamline the management of color schemes in a stylesheet.
- When using the "vertical-align" property, what does the value "baseline" represent?