Dictionary of Meaning
<<Back
Please select a letter:
A |
B |
C |
D |
E |
F |
G |
H |
I |
J |
K |
L |
M |
N |
O |
P |
Q |
R |
S |
T |
U |
V |
W |
X |
Y |
Z |
0-9
Click here for Shopping
Font family (HTML)
*** Shopping-Tip: Font family (HTML)
{{HTML}}
In
HTML and
XHTML, a '''font face''' or '''font family''' is a
typeface, or generic type family.
The font family and other presentational attributes of fonts are applied in HTML code using the deprecated HTML font element type, or using
Cascading Style Sheets (CSS). In HTML code:
Sample text.
Using inline CSS:
Sample text.
Font family is specified as a list of typefaces which may or may not be present on a computer. The last family specified is usually one of the five generic families defined in HTML and CSS:
{|
|-
|
Serif:||
The quick brown fox jumps over the lazy dog.
|-
|Sans-serif: ||
The quick brown fox jumps over the lazy dog.
|-
|
Cursive:||
The quick brown fox jumps over the lazy dog.
|-
|Fantasy:||
The quick brown fox jumps over the lazy dog.
|-
|Monospace: ||
The quick brown fox jumps over the lazy dog.
|}
(Under
Windows API, they are identified as Roman, Swiss, Script, Decorative, and Modern, respectively).
----
There may be many other font families; however, you cannot expect them to be universally supported. Just see what your browser can make out of it:
{|
|-
|
Times Roman Times:||
The quick brown fox jumps over the lazy dog.
|-
|Roman:||
The quick brown fox jumps over the lazy dog.
|-
|
Garamond: ||
The quick brown fox jumps over the lazy dog.
|-
|
Palatino: ||
The quick brown fox jumps over the lazy dog.
|-
|
Antiqua: ||
The quick brown fox jumps over the lazy dog.
|-
|Minion: ||
The quick brown fox jumps over the lazy dog.
|-
|
Helvetica: ||
The quick brown fox jumps over the lazy dog.
|-
|Swiss: ||
The quick brown fox jumps over the lazy dog.
|-
|Impact:||
The quick brown fox jumps over the lazy dog.
|-
|Script:||
The quick brown fox jumps over the lazy dog.
|-
|Decorative:||
The quick brown fox jumps over the lazy dog.
|-
|Blackletter:||
The quick brown fox jumps over the lazy dog.
|-
|
fraktur (typeface) Fraktur:||
The quick brown fox jumps over the lazy dog.
|-
|Modern:||
The quick brown fox jumps over the lazy dog.
|-
|
Courier (font) Courier:||
The quick brown fox jumps over the lazy dog.
|}
The actual appearance will depend on your browser and the fonts installed on your system. A default installation of
Microsoft's
Internet Explorer, for instance, always displays Serif and Times as
Times New Roman, and Sans-serif and Helvetica as
Arial.
See also
*
HTML_element#Presentational_markup Presentational markup
*
Core fonts for the Web
{{compu-stub}}
Category:HTML
Category:Typesetting
th:Font family (HTML)
*** Shopping-Tip: Font family (HTML)