Which CSS property controls the text size?

Prepare for the Web Development 201 Test with flashcards and multiple choice questions including hints and detailed explanations. Boost your exam readiness today!

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