APPENDIX B Fonts
This appendix contains a quick reference for commonly available fonts and brief discussions of downloadable fonts and various text replacement techniques to improve online typography.
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:
<p>This is standard text.<font face="Britannic Bold">This is text inBritannic Bold?</font>More standard text.</p>
A Web browser that reads this HTML fragment should render the text in the font named in the face
attribute, but only for users who have the font installed on their systems. To address the possibility of missing fonts, multiple font names can be listed using the face
attribute:
<p>This is standard text. ...
Get HTML & CSS: The Complete Reference, Fifth Edition, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.