CSS HTML Validator - The fast, all-in-one, HTML, CSS, Link, SEO, spelling, and accessibility checker for Windows, & htmlval for Mac and Linux
Home Help: "font-family" CSS property

The "font-family" CSS Property

Values for "font-family"
CSS LevelValue
CSS Fonts Level 4"[ <family-name> | <generic-family> ]#", where <family-name> = "<string> | <custom-ident>+", and <generic-family> = "serif | sans-serif | cursive | fantasy | monospace"
CSS Fonts Level 3 (in @font-face)"<family-name>", where <family-name> = "<string> | <custom-ident>+"
CSS Fonts Level 4 (in @font-palette-values)"<family-name>#", where <family-name> = "<string> | <custom-ident>+"

Notes

  • Quotes are recommended (and sometimes required) around font family names that contain whitespace, digits, or punctuation other than hyphens, but generic font family names must not be quoted.
  • Quotes are recommended (and sometimes required) around font family names that contain whitespace, digits, or punctuation other than hyphens, but generic font family names must not be quoted.

Recommended Links

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem