Units & Values interview questions

18 real Units & Values questions from the CSS bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is rem unit?

Junior
  1. A.a length relative to the font size of the root html element
  2. B.a length equal to the advance width of the zero character in the current font
  3. C.a value computed relative to a corresponding dimension of the containing block
  4. D.a length relative to the font size of the current element
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.rem unit — a length relative to the font size of the root html element
  2. B.rem unit — a viewport-relative length equal to one percent of the viewport height
  3. C.rem unit — a value computed relative to a corresponding dimension of the containing block
  4. D.rem unit — a dynamic viewport-height length that adjusts as mobile browser toolbars expand and collapse
Reveal the answer + AI explanation — free account

4. What is em unit?

Junior
  1. A.a value computed relative to a corresponding dimension of the containing block
  2. B.a length equal to the advance width of the zero character in the current font
  3. C.a length relative to the font size of the current element
  4. D.a dynamic viewport-height length that adjusts as mobile browser toolbars expand and collapse
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Junior
  1. A.em unit — a length relative to the font size of the current element
  2. B.em unit — a length relative to the font size of the root html element
  3. C.em unit — a dynamic viewport-height length that adjusts as mobile browser toolbars expand and collapse
  4. D.em unit — a length equal to the advance width of the zero character in the current font
Reveal the answer + AI explanation — free account

7. What is vh unit?

Junior
  1. A.a length relative to the font size of the root html element
  2. B.a viewport-relative length equal to one percent of the viewport height
  3. C.a value computed relative to a corresponding dimension of the containing block
  4. D.a dynamic viewport-height length that adjusts as mobile browser toolbars expand and collapse
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Junior
  1. A.vh unit — a value computed relative to a corresponding dimension of the containing block
  2. B.vh unit — a viewport-relative length equal to one percent of the viewport height
  3. C.vh unit — a dynamic viewport-height length that adjusts as mobile browser toolbars expand and collapse
  4. D.vh unit — a length equal to the advance width of the zero character in the current font
Reveal the answer + AI explanation — free account

10. What is ch unit?

Mid
  1. A.a value computed relative to a corresponding dimension of the containing block
  2. B.a length equal to the advance width of the zero character in the current font
  3. C.a length relative to the font size of the root html element
  4. D.a length relative to the font size of the current element
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Mid
  1. A.ch unit — a value computed relative to a corresponding dimension of the containing block
  2. B.ch unit — a dynamic viewport-height length that adjusts as mobile browser toolbars expand and collapse
  3. C.ch unit — a length relative to the font size of the current element
  4. D.ch unit — a length equal to the advance width of the zero character in the current font
Reveal the answer + AI explanation — free account

13. What is dvh unit?

Senior
  1. A.a value computed relative to a corresponding dimension of the containing block
  2. B.a length relative to the font size of the root html element
  3. C.a dynamic viewport-height length that adjusts as mobile browser toolbars expand and collapse
  4. D.a length relative to the font size of the current element
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Senior
  1. A.dvh unit — a dynamic viewport-height length that adjusts as mobile browser toolbars expand and collapse
  2. B.dvh unit — a length relative to the font size of the root html element
  3. C.dvh unit — a value computed relative to a corresponding dimension of the containing block
  4. D.dvh unit — a viewport-relative length equal to one percent of the viewport height
Reveal the answer + AI explanation — free account

16. What is percentage length?

Mid
  1. A.a length equal to the advance width of the zero character in the current font
  2. B.a dynamic viewport-height length that adjusts as mobile browser toolbars expand and collapse
  3. C.a value computed relative to a corresponding dimension of the containing block
  4. D.a viewport-relative length equal to one percent of the viewport height
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Mid
  1. A.percentage length — a length equal to the advance width of the zero character in the current font
  2. B.percentage length — a viewport-relative length equal to one percent of the viewport height
  3. C.percentage length — a length relative to the font size of the root html element
  4. D.percentage length — a value computed relative to a corresponding dimension of the containing block
Reveal the answer + AI explanation — free account

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Units & Values free