CSS default fonts : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

fonts  CSS default fonts
CSS (Cascading Style Sheets) style sheets define a set of default fonts, aka desperation fonts, aka logical fonts, guaranteed to be available to every browser.

Logical fonts for CSS Style Sheets

If the font is installed, the sample text will show up in that font. If the font is not installed it will show up in a spindly vector font.

cursive fantasy monospace sans-serif serif

Logical fonts for Java Programs

If the font is installed, the sample text will show up in that font. If the font is not installed it will show up in a spindly vector font.

Dialog DialogInput Monospaced SansSerif Serif
The five CSS logical fonts cursive, fantasy, monospace, sans-serif, serif are guaranteed available in every browser. Note the names are slightly different from the logical fonts of last resort in Java : CSS ’s monospace vs Java Monospaced, sans-serif vs SansSerif and serif vs Serif. Make sure you specify these names without surrounding quotes. Further, make sure every font-family specification ends with one of these logical fonts so CSS will always have some available font to use for rendering.

This page is posted
on the web at:

http://mindprod.com/jgloss/cssdefaultfonts.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\cssdefaultfonts.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[18.118.200.136]
You are visitor number