About Font-Family: San-Serif

xiaoxiao2021-03-06  35

I saw that Abie mentioned the issue of XHTML verification, indicating that the font must finally use Sans-Serif (unlined font, simply understanding the Chinese black body, the text pen ends over the end, not abduction This font category is ended. I saw this in a few days, such a font type name

Can't add quotes. A few days ago, I have encountered this problem, I didn't look carefully, it turned out to be an increase in an inclusion number.

The following is a reference:

CSS Font-Family

The CSS Validator found an error in the CSS written by CSS Validator, which is Generic Font Family as a keyword, so you can't use quotation marks.

These keywords are Serif, Sans-Serif, Cursive, Fantasy, Monospace

Here is an example:

Body {

Font-Family: "Geneva", "Arial", "Helvetica", SANS-Serif;

}

Below

http://www.w3.org/tr/rec-css2/fonts.html#generic-font-families

It is pointed out which type of commonly used fonts belong.

Original text also mentioned the three CSS font classification of Cursive Fantasy Monospace. This is the first time I heard.

The following is a reference:

Generic Font Families

Generic font families are a fallback mechanism, a means of preserving some of the style sheet author's intent in the worst case when none of the specified fonts can be selected. For optimum typographic control, particular named fonts should be used in style sheets.

All five generic font families are defined to exist in all CSS implementations (they need not necessarily map to five distinct actual fonts). User agents should provide reasonable default choices for the generic font families, which express the characteristics of each family as well as possible WITHIN THE LIMITS allowed by the underlying technology.

User agent is to select Alternative Choices for the Generic Fonts.

Serif

Glyphs of serif fonts, as the term is used in CSS, have finishing strokes, flared or tapering ends, or have actual serifed endings (including slab serifs). Serif fonts are typically proportionately-spaced. They often display a greater variation between thick and thin strokes than fonts from the 'sans-serif' generic font family. CSS uses the term 'serif' to apply to a font for any script, although other names may be more familiar for particular scripts, such as Mincho (Japanese), Sung OR Song (Chinese), Totum or Kodig (Korean). Any Font That Is So Described May Be Used to Represent The Generic 'Serif' Family.examples of Fonts That Fit This Description Include:

Latin Fonts Times New Roman, Bodoni, Garamond, Minion Web, ITC Stone Serif, MS Georgia, Bitstream Cyberbit

Greek Fonts BitStream Cyberbit

Cyrillic Fonts Adobe Minion Cyrillic, Excelcior Cyrillic Upright, Monotype Albion 70, BitStream Cyberbit, ER Bukinst

Hebrew Fonts New Peninim, Raanana, BitStream Cyberbit

Japanese Fonts Ryumin Light-KL, Kyokasho ICA, FUTO MIN A101

Arabic Fonts BitStream Cyberbit

Cherokee Fonts Lo CICERO CHEROKEE

Sans-Serif

Glyphs in sans-serif fonts, as the term is used in CSS, have stroke endings that are plain -.. Without any flaring, cross stroke, or other ornamentation Sans-serif fonts are typically proportionately-spaced They often have little variation between thick and thin strokes, compared to fonts from the 'serif' family. CSS uses the term 'sans-serif' to apply to a font for any script, although other names may be more familiar for particular scripts, such as Gothic (Japanese) Kai (Chinese), or Pathang (Korean). Any Font That Is So Described May Be Used To Reperest The Generic 'Sans-Serif' Family.examples of Fonts That Fit this Description Include:

Latin Fonts MS Trebuchet, ITC Avant Garde Gothic, MS Arial, MS Verdana, University, Futura, ITC Stone Sans, Gill Sans, Akzidenz Grotesk, Helvetica

Greek Fonts Attika, Typiko New Era, MS Tahoma, Monotype Gill Sans 571, Helvetica Greek

Cyrillic Fonts Helvetica Cyrillic, ER Univers, Lucida Sans Unicode, Bastion

Hebrew Fonts Arial Hebrew, MS Tahoma

Japanese Fonts Shin GO, Heisei Kaku Gothic W5

Arabic Fonts MS Tahoma

CURSIVE

Glyphs in cursive fonts, as the term is used in CSS, generally have either joining strokes or other cursive characteristics beyond those of italic typefaces. The glyphs are partially or completely connected, and the result looks more like handwritten pen or brush writing than printed letterwork . Fonts for some scripts, such as Arabic, are almost always cursive. CSS uses the term 'cursive' to apply to a font for any script, although other names such as Chancery, Brush, Swing and Script are also used in font names.

Examples of Fonts That Fit this Description Include:

Latin Fonts Caflisch Script, Adobe Poetica, Sanvito, EX PONTO, SNELL ROUNDHON, ZAPF-CHANCYRILLIC FONTS ER Architekt

Hebrew Fonts Corsiva

Arabic fonts decotype naskh, monotype urdu 507

FANTASY

FANTASY FONTS, AS Used IN CSS, Are Primarily Decorative While Still Containing Representations of Characters (AS Opposed to Pi Or Picture Fonts). EXAMPLES INCLUDE:

Latin Fonts Alpha Geometrique, Critter, Cottonwood, FB Reactor, Studs

Monospace

The sole criterion of a monospace font is that all glyphs have the same fixed width. (This can make some scripts, such as Arabic, look most peculiar.) The effect is similar to a manual typewriter, and is often used to set samples of Computer Code.

Examples of Fonts Which Fit this Description Include: Latin Fonts Courier, MS Courier New, Prestige, EVERSON MONO

Greek Fonts MS Courier New, Everson Mono

Cyrillic Fonts ER Kurier, EVERSON MONO

Japanese Fonts Osaka Monospaced

Cherokee Fonts Everson Mono

Original address:

http://www.donews.net/Wordy/archive/2004/12/05/193748.aspx

转载请注明原文地址:https://www.9cbs.com/read-75706.html

New Post(0)