What does CSS measurement unit 'em' actually stand for? -


as title says, want know css unit 'em' stands for.
in 'cm' stands centimeter.

i not asking 'em' or how used!

i couldn't find answer on w3c.
wikipedia article saying "something":

the name of em related m. unit derived width of capital "m" in given typeface.

my interpretation of first sentence 'em' pronunciation/phonetic letter 'm'.
reading second sentence, seems 'e' in 'em' stands regarding width of letter 'm'.
i'm still lost, 'em' stands for!

that historical definition; in modern usage refers size of font, word "em" no longer having practical or relevant meaning. matter of fact, same wikipedia article expands on evolution in usage , meaning in a later section:

one em traditionally defined width of capital "m" in current typeface , point size, "m" commonly cast full-width of square "blocks", or "em-quads" (also "mutton-quads"), used in printing presses. however, in modern typefaces, character m less 1 em wide. moreover, term has expanded include wider variety of languages , character sets, meaning has evolved; has allowed include fonts, typefaces, , character sets not include capital "m", such chinese , arabic alphabet. thus, em means point size of font in question, same height of metal body font cast on.

particularly in terms of css, "em" doesn't refer width of capital m particular font; it's relative quantity.

if you're asking etymology of word "em", wikipedia contains reference adobe glossary, has little more it:

a common unit of measurement in typography. em traditionally defined width of uppercase m in current face , point size. more defined current point size. example, in 12-point type, em distance of 12 points.

it's not explicitly mentioned anywhere authoritative it's phonetic representation of capital m, considering namesake definition wouldn't rule out such possibility.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -