About This HTML Issue
A CSS syntax error in your font-family declaration is using an invalid character or operator where the validator expects a comma-separated list of font names.
The font-family property expects font names separated by commas. A common mistake is using operators like +, =, or / between font names, or copying malformed font names from URLs (like Google Fonts link URLs where + replaces spaces). Font names with spaces must be wrapped in quotes.
For example, font-family: Open+Sans is invalid because + is not a valid CSS operator in this context. The correct form is font-family: "Open Sans". Similarly, using font-family: Arial / Helvetica is invalid — a comma should separate fallback fonts.
Invalid Example
<p style="font-family: Open+Sans, sans-serif;">Hello</p>
Fixed Example
<p style="font-family: 'Open Sans', sans-serif;">Hello</p>
Double-check that your font names use commas as separators, quotes around names with spaces, and no stray characters like +, /, or =.
Find issues like this automatically
Rocket Validator scans thousands of pages in seconds, detecting HTML issues across your entire site.
Help us improve our guides
Was this guide helpful?
Validate at scale.
Ship accessible websites, faster.
Automated HTML & accessibility validation for large sites. Check thousands of pages against WCAG guidelines and W3C standards in minutes, not days.
Pro Trial
Full Pro access. Cancel anytime.
Start Pro Trial →Join teams across 40+ countries