Font properties
A CSS property that sets the typeface for text, accepting a prioritised list of font names with a generic fallback such as serif or sans-serif
What it does: font-style: italic renders text in an italicised/slanted form. The font shorthand combines style, weight, size, and family into one declaration. font-family accepts a list of typeface names. font-type does not exist in CSS. The numeric value 700 maps exactly to the bold keyword in CSS font weight. CSS requires an explicit unit for font-size (e.g. px, em, rem). Unitless values are invalid except for line-height. Font names containing spaces must be quoted so CSS can parse them as a single name.
Common mistakes: Font names containing spaces must be quoted. It should be font-family: "Comic Sans", serif;. font-size needs a unit. It should be font-size: 24px; (or another valid unit like em or rem).
Free printable worksheet with full answer key — or add this module to a journey and assign it to your class.
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
font-familyFill in the Blanks
Spot the Error
Create a free class, add this module to a journey, and track who's stuck.
Create a free teacher account →No credit card. No setup fee. Make a class and invite students in under three minutes.
Practice this topic interactively, track progress, and unlock badges.
Start Learning Free →