🔤Font Family
Also known as Type Family, Superfamily
All the fonts of one typeface, kept together. Also the CSS rule that picks one.
Think of it like
It is like kids in one home. They look alike, but each one is not the same.
Example
Why it matters
One family with many weights gives you range. You get it without the mess of mixing many fonts.
Definition
Example code
css
body {
font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}Common mistake
Key takeaways
- 1One typeface, many fonts. Weights and styles together.
- 2A CSS rule too. It names the typeface to use.
- 3End with a backup. serif, sans-serif or monospace.