Which CSS property controls the text size?

Enhance your coding skills with our Web Development 201 Quiz. Practice with multiple-choice questions and find detailed explanations for each question. Ace your web development exam!

The property that controls the text size in CSS is the font-size property. This property allows developers to specify the size of the font for text within an element, enabling them to manage how text appears on a webpage. The font-size can be set using various units such as pixels (px), ems, rems, percentages, and more, allowing for responsive and adaptable typography.

Understanding this is crucial for creating visually appealing and effectively legible text in web design. Customizing the font size can enhance user experience by ensuring that text is easily readable across different devices and screen sizes. The other terms listed do not correspond to valid CSS properties, which makes them unsuitable for controlling text size.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy