Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The family
read-only property of the FontData
interface returns the family of the font face.
This is the name used when referring to the font family from code, for example, in the font-family
property or in places within the @font-face
at-rule such as the local()
function.
Examples include:
- Apple SD Gothic Neo
- Arial Black
- Avenir Next
- Katari
- YuMincho +36p Kana