Which CSS property controls the size of text?
Correct answer
B. font-size
11 views
B. font-size
11 views
font-size controls the size of text: p { font-size: 16px; }. Values may be given in px, em, rem or %.
font-style sets italics, and text-size and text-style are not CSS properties.
For more solved questions like this one, see Computer Science MCQs on MCQsExam.com.
Asked in: Matric,FBISE
Not sure why the answer is B? Ask here and get an explanation.