Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Font family (HTML)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Font name as family name == Although CSS tries to define a font family as the same as a typeface, the {{code|font-family}} entry and its non-standard HTML predecessor has also historically been used to identify the entire ''font face''. This usage is due to [[font file]]s not describing themselves as part of a family, partially motivated by the fact that few editors at the time supported the selection among more than four font styles (bold/regular and italics/regular). As a result, it used to be common to see declarations such as {{code|font-family: 'Gill Sans Extrabold', 'Heisei Mincho W9'}} in place of the pedantically correct {{code|font-family: 'Gill Sans', 'Heisei Mincho'; font-weight: 900}}. Neither CSS2 nor CSS3 endorse such a use (they are not found in examples), but most browsers accept them as valid "names" nevertheless.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)