Test length specifications

Images and Figures

blue square

scale 100%, no size specification

blue square

width 25%, no height, figure width 50%

blue square

width 25%, height 16px, figure width 50%

blue square

width 10 em, figure width 20 em

blue square

width 20 ex, figure width 40 ex

blue square

width 15 ch, figure width 30 ch

blue square

width 10 rem, figure width 20 rem

blue square

width 25 vw, figure width 30 vw

blue square

width 25 vh, figure width 30 vh

blue square

width 25 vmin, figure width 30 vmin

blue square

width 25 vmax, figure width 30 vmax

blue square

width 5 cm, figure width 10 cm

blue square

width 50 mm, figure width 100 mm

blue square

width 200 Q, figure width 400 Q

blue square

width 2 in, figure width 4 in

blue square

width 12 pc, figure width 24 pc

blue square

width 144 pt, figure width 288pt

blue square

width 192 px, figure width 384 px

blue square

width 192 <no unit>, figure width 384 <no unit>

ch, em, and rem: test1ch test1em test1rem

Image height 1ch, 1em, and 1rem: test1ch test1em test1rem

The units "em" and "ch" change with the current font size. The unit "rem" is tied to the document root fontsize.

Tables

value

unit

25

%

10

em

20

ex

15

ch

10

rem

25

vw

25

vh

25

vmin

25

vmax

5

cm

50

mm

200

Q

2

in

12

pc

144

pt

192

px

192

<no unit>