Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

which of these are valid ways to use the css font - size property? choo…

Question

which of these are valid ways to use the css font - size property? choose all answers that apply: a font - size: 12 px; b font - size: 12pix; c font - size: 12px; d font - size: 12 pixels; e font - size: 12;

Explanation:

Brief Explanations

In CSS, the correct unit for specifying font - size is 'px' (pixels) without a space between the number and the unit. Option A has a space between 12 and px which is incorrect. Option B uses 'pix' which is not a valid unit. Option D uses the full word 'pixels' which is not the correct unit notation. Option E has no unit which is incorrect. Option C is correct as it uses the correct 'px' unit without a space.

Answer:

C. font - size: 12px;