Which CSS property controls the text size?

Prepare for the Web Development 201 Test. Utilize our flashcards and multiple choice questions with hints and explanations. Ensure you're ready for 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