🔤Point Size
Also known as Point (Typography), pt, Font Size
How big type is set. One point is 1/72 of an inch.
Think of it like
It is like shoe sizes. A number tells you how big, but brands still fit a bit different.
Example
A book uses 11pt text. Its website shows the same text at 18px, since screens are read from farther away.
Why it matters
Size is the first thing that decides whether text can be read at all.
Definition
Example code
css
html { font-size: 100%; } /* 16px in most browsers */
h1 { font-size: 2.5rem; } /* 40px */Common mistake
Key takeaways
- 11/72 of an inch. 72 points make one inch.
- 2Points for print. Pixels and rem for screens.
- 3Size is not size. Fonts at one size can differ.