Test Series - css

Test Number 32/59

Q: Which of the following measurement defines a measurement in centimeters?
A. c
B. cm
C. centi
D. centimeter
Solution: Example: div {margin-bottom: 1cm;}
Q: Which of the following measurement defines a measurement relative to the height of a font in em spaces?
A. px
B. in
C. em
D. pt
Solution: 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.
Q: Which of the following measurement defines a measurement in points?
A. px
B. in
C. em
D. pt
Solution: 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.
Q: Which of the following measurement defines a measurement in inches?
A. px
B. in
C. em
D. pt
Solution: Example: p {word-spacing: .25in;}
Q: Which of the following measurement defines a measurement in pixels?
A. px
B. in
C. em
D. pt
Solution: None.
Q: Which of the following measurement defines a measurement relative to a font’s x-height?
A. e
B. xh
C. ex
D. rxh
Solution: 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.
Q: Which of the following measurement is relative to 1percentage of viewport’s larger dimension?
A. vw
B. vmax
C. vmin
D. ch
Solution: None.
Q: Which of the following measurement is relative to 1percentage of the width of the viewport?
A. vw
B. vmax
C. vmin
D. ch
Solution: None.
Q: Which of the following measurement is relative to 1% of the height of the viewport?
A. ch
B. rem
C. %
D. vh
Solution: None.
Q: Which of the following measurement is relative to font-size of the root element?
A. rem
B. kd
C. rr
D. hx
Solution: None.

You Have Score    /10