Measurements in CSS

Question 1
Marks : +2 | -2
Pass Ratio : 100%
Which of the following measurement is relative to font-size of the root element?
rem
kd
rr
hx
Explanation:
None.
Question 2
Marks : +2 | -2
Pass Ratio : 100%
Which of the following measurement is relative to 1% of the height of the viewport?
ch
rem
%
vh
Explanation:
None.
Question 3
Marks : +2 | -2
Pass Ratio : 100%
Which of the following measurement defines a measurement in inches?
px
in
em
pt
Explanation:
Question 4
Marks : +2 | -2
Pass Ratio : 100%
Which of the following measurement defines a measurement relative to the height of a font in em spaces?
px
in
em
pt
Explanation:
Defines a measurement relative to the height of a font in em spaces. Because an em unit is equivalent to the size of a given font, if you assign a font to 12pt, each em unit would be 12pt, thus 2em would be 24pt.
Question 5
Marks : +2 | -2
Pass Ratio : 100%
Which of the following measurement defines a measurement relative to a font’s x-height?
e
xh
ex
rxh
Explanation:
Defines a measurement relative to a font’s x-height. The x-height is determined by the height of the font’s lowercase letter x.
Question 6
Marks : +2 | -2
Pass Ratio : 100%
Which of the following measurement defines a measurement in points?
px
in
em
pt
Explanation:
Defines a measurement in points. A point is defined as 1/72nd of an inch. A point does not equate to a pixel unless there are 72 pixels per inch onscreen.
Question 7
Marks : +2 | -2
Pass Ratio : 100%
Which of the following measurement is relative to 1percentage of the width of the viewport?
vw
vmax
vmin
ch
Explanation:
None.
Question 8
Marks : +2 | -2
Pass Ratio : 100%
Which of the following measurement defines a measurement in pixels?
px
in
em
pt
Explanation:
None.
Question 9
Marks : +2 | -2
Pass Ratio : 100%
Which of the following measurement defines a measurement in centimeters?
c
cm
centi
centimeter
Explanation:
Question 10
Marks : +2 | -2
Pass Ratio : 100%
Which of the following measurement is relative to 1percentage of viewport’s larger dimension?
vw
vmax
vmin
ch
Explanation:
None.