1. Home
  2. Computer Science MCQs
  3. Cascading Style Sheets - CSS
  4. Which CSS unit is relative to the font size of the root…

Added 2 Nov 2026

Which CSS unit is relative to the font size of the root (html) element?

  1. vmin
  2. ch
  3. rem Correct answer
  4. em

Correct answer

C. rem

14 views

MCQSEXAM

Explanation

rem stands for 'root em'. 1rem equals the html element's font size, usually 16px, which keeps sizing consistent. em is relative to the parent's font size, vmin to the smaller viewport side, and ch to the width of the "0" character.

Reference

Asked in: NTS, Web Developer Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Cascading Style Sheets - CSS MCQs

Practise all Cascading Style Sheets - CSS MCQs

Similar MCQs