HTML.and.XHTML.The.Complete.Reference.4th.Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

HTML.and.XHTML.The.Complete.Reference.4th.Edition [Electronic resources] - نسخه متنی

Thomas Powell

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
توضیحات
افزودن یادداشت جدید








Appendix D: Fonts


This appendix contains a quick reference for the commonly available fonts and a brief discussion of downloadable fonts.


Specifying Fonts


Under HTML 4.01 and transitional XHTML 1.0, you can use the <font> tag to set a font in a page by setting the face attribute:


<font face="Britannic Bold">This is important</font>

The Web browser reads this HTML fragment and renders the text in the font named in the face attribute-but only for users who have the font installed on their systems. Multiple fonts can be listed using the face attribute:


<font face="Arial, Helvetica, Sans-serif">
This should be in a different font</font>

Here, the browser reads the comma-delimited list of fonts until it finds a font it supports. Given the fragment shown here, the browser would first try Arial, then Helvetica, and finally a sans-serif font before giving up and using the current browser font.

CSS supports the same approach to setting fonts using font-family and font properties. For example, to set the font to Arial for all text in paragraph tags, you would use a rule like the following:

p {font-family: Arial;}

Of course, the same restriction of fonts available on the local system applies, so a comma-delimited list of fonts should be specified like so:

p {font-family: Verdana, Arial, Helvetica, Sans-serif;}

Regardless of the approach, you can apply a little guesswork to use fonts properly if you consider that most Macintosh, Windows, and UNIX users have a standard set of fonts. If equivalent fonts are specified, it may be possible to provide similar page renderings across platforms.


Fonts for Microsoft Platforms and Browsers


The following fonts are available for Microsoft browsers and systems; they are displayed in Figure D-1.




























































































































Font


Systems


Andale Mono


IE4.5 and IE5


Arial


Windows XP, Windows 2000, Windows ME, Windows 98, Windows 95, Windows 3.1x, Windows NT 3.x, Windows NT 4.x, IE4.5, 5, and 6


Arial Bold


Windows XP, Windows 2000, Windows ME, Windows 98, Windows 95, Windows 3.1x, Windows NT 3.x, Windows NT 4.x


Arial Italic


Windows XP, Windows 2000, Windows ME, Windows 98, Windows 95, Windows 3.1x, Windows NT 3.x, Windows NT 4.x


Arial Bold Italic


Windows XP, Windows 2000, Windows ME, Windows 98, Windows 95, Windows 3.1x, Windows NT 3.x, Windows NT 4.x


Arial Black


Windows XP, Windows 2000, Windows ME, Windows 98, IE3, IE4, IE5,

and IE6


Comic Sans MS


Windows XP, Windows 2000, Windows ME, IE3, IE4, IE5, and IE6


Comic Sans MS Bold


Windows XP, Windows 2000, Windows ME, IE3, IE4, 5, and IE6


Courier New


Windows XP, Windows 2000, Windows ME, Windows 98, Windows 95, Windows 3.1x, Windows NT 3.x, Windows NT 4.x


Courier New Bold


Windows XP, Windows 2000, Windows ME, Windows 98, Windows 95, Windows 3.1x, Windows NT 3.x, Windows NT 4.x


Courier New Italic


Windows XP, Windows 2000, Windows ME, Windows 98, Windows 95, Windows 3.1x, Windows NT 3.x, Windows NT 4.x


Courier New Bold Italic


Windows XP, Windows 2000, Windows ME, Windows 98, Windows 95, Windows 3.1x, Windows NT 3.x, Windows NT 4.x


Georgia


Windows XP, Windows 2000, IE4, IE5, and IE6 (add-on)


Georgia Bold


Windows XP, Windows 2000, IE4, IE5, and IE6 (add-on)


Georgia Italic


Windows XP, Windows 2000, IE4, IE5, and IE6 (add-on)


Georgia Bold Italic


Windows XP, Windows 2000, IE4, IE5 & IE6 (add-on)


Impact


Windows XP, Windows 2000, Windows ME, Windows 98, Internet Explorer 3, 4, 5, and 6


Lucida Console


Windows XP, Windows 2000, Windows ME, Windows 98, Windows NT 3.x (except NT 3.0), Windows NT 4.x


Lucida Sans Unicode


Windows XP, Windows 2000, Windows 98, Windows NT 3.x (except NT 3.0), Windows NT 4.x


Marlett


Windows XP, Windows 2000, Windows ME, Windows 98, Windows 95, Windows NT 4.x


Minion Web (Adobe)


Microsoft lists this as one of its "core fonts," but it seems to be available (for sale) only from Adobe (http://www.adobe.com).


Monotype.com


Old version of Andale Mono, still available for Windows 3.1 and 3.11 (add-on)


Symbol


Windows XP, Windows 2000, Windows ME, Windows 98, Windows 95, Windows 3.1x, Windows NT 3.x, Windows NT 4.x


Times New Roman


Windows XP, Windows 2000, Windows ME, Windows 98, Windows 95, Windows 3.1x, Windows NT 3.x, Windows NT 4.x


Times New Roman Bold


Windows XP, Windows 2000, Windows ME, Windows 98, Windows 95, Windows 3.1x, Windows NT 3.x, Windows NT 4.x


Times New Roman Italic


Windows XP, Windows 2000, Windows ME, Windows 98, Windows 95, Windows 3.1x, Windows NT 3.x, Windows NT 4.x


Times New Roman Bold Italic


Windows XP, Windows 2000, Windows ME, Windows 98, Windows 95, Windows 3.1x, Windows NT 3.x, Windows NT 4.x


Tahoma


Windows XP, Windows 2000, Windows ME, Windows 98


Trebuchet MS


Windows XP, Windows 2000, IE4, IE5, and IE6 (add-on)


Trebuchet MS Bold


Windows XP, Windows 2000, Windows 2000, IE4, IE5, and IE6 (add-on)


Trebuchet MS Italic


Windows XP, Windows 2000, IE4, IE5, and IE6 (add-on)


Trebuchet MS Bold Italic


Windows XP, Windows 2000, IE4, IE5, and IE6 (add-on)


Verdana


Windows XP, Windows 2000, Windows ME, Windows 98, IE3, IE4, IE5, and IE6


Verdana Bold


Windows XP, Windows 2000, Windows ME, Windows 98, IE3, IE4, IE5, and IE6


Verdana Italic


Windows XP, Windows 2000, Windows ME, Windows 98, IIE3, 4, 5, and 6


Verdana Bold Italic


Windows XP, Windows 2000, Windows ME, Windows 98, Internet Explorer 3, IE4, IE5, and IE6


Webdings


Windows XP, Windows 2000, Windows ME, Windows 98, IE4, IE5, and IE6


Wingdings


Windows XP, Windows 2000, Windows ME, Windows 98, Windows 95, Windows 3.1x, Windows NT 3.x, Windows NT 4.x



Figure D-1: Font families available for Microsoft browsers and systems





Note

For more reference on Microsoft related fonts, please see http://www.microsoft.com/typography/fonts.


Fonts for Apple Macintosh System 7


The following fonts are available for Macintosh System 7; they are displayed in Figure D-2.














Chicago


Courier Regular


Geneva


Helvetica


Monaco


New York


Palatino


Symbol


Times



Figure D-2: Font families available with Macintosh System 7


Additional Fonts for Apple Macintosh System 8 and Higher


In addition to the fonts shown for System 7, Macintosh System 8 offers the following fonts; they are displayed in Figure D-3.











Apple Chancery


Hoefler Text


Hoefler Text Ornaments


Skia



Figure D-3: Additional font families available with Macintosh System 8

Additional Fonts for Apple Macintosh System 8.5 and Higher


In addition to the fonts shown for System 8, Macintosh System 8.5 offers the following fonts; they are displayed in Figure D-4.











Capitals


Charcoal


Gadget


Sand


Techno


Textile



Figure D-4: Additional font families available with Macintosh System 8.5

Additional Fonts for Apple Macintosh OS X


In addition to the fonts shown for System 8.5, Macintosh OS X offers the following fonts; they are displayed in Figure D-5.
































American Typewriter


Andale Mono


Arial


Arial Black


Brush Script


Baskerville


Big Caslon


Comic Sans MS


Copperplate


Courier New


Didot


Georgia


Gill Sans


Futura


Herculanum


Impact


Lucida Grande


Marker Felt


Optima


Osaka


Papyrus


Times New Roman


Trebuchet MS


Verdana


Webdings


Zapf Dingbats


Zapfino



Figure D-5: Additional fonts for Apple Macintosh OS X

Fonts for UNIX Systems


The following fonts are available for most UNIX systems; they are displayed in Figure D-6.




















Charter


Clean


Courier


Fixed


Helvetica


Lucida


Lucidabright


Lucida Typewriter


New Century Schoolbook


Symbol


Terminal


Times


Utopia



Figure D-6: Font families available on common UNIX systems

Most users may have many other fonts in addition to the ones shown in the tables. Users of Microsoft's Office will probably also have access to fonts such as Algerian, Book Antiqua, Bookman Old Style, Britannic Bold, Desdemona, Garamond, Century Gothic, Haettenschweiller, and many others. The various browsers are also trying to make new fonts available. Microsoft's Webdings font provides many common icons for use on Web pages viewed in Internet Explore 4.0 or higher. Some of these icons may be useful for navigation, like arrows, while others look like audio or video symbols that could provide an indication of link content.


/ 252