The CSS property _______ is used to control the space between lines of text within an inline element.
- line-height
- margin
- padding
- spacing
The line-height property in CSS determines the amount of space above and below inline elements. It's typically used to improve the readability of text, especially in larger blocks. The value can be a number, length, or a percentage. When used correctly, line-height can enhance the visual appeal of text on a webpage.
Loading...
Related Quiz
- To send the form-data as an HTTP post transaction, the method attribute should be set to ______.
- What specific challenges might a developer encounter when styling "th" elements, and how can they be overcome?
- How can you manipulate the start number of an ordered list?
- How would you implement custom quotation marks using CSS for inline quotations while maintaining semantic HTML and ensuring browser compatibility?
- Which of the following elements is an inline element?