HTML5, CSS3, and JavaScript Fourth Edition

(Ben Green) #1

CHAPTER 10. FONT FAMILIES 105


http://en.wikipedia.org/wiki/Samples_of_sans_serif_typefacesshows
some examples.


10.3.3 Monospace


Monospacemeans one spacing (size), and hearkens back to the day of
typewriters. Each letter has the same width. Wide letters like m and w take
up the same amount of space as the narrow letters like i and j. Monospace
fonts are commonly used to represent data entry and computer code.


Exam Question 183(p.347):What generic font family has letters all the
same width?
Required Answer:monospace


Monospace:iiiii jjjjj mmmmm wwwww


Proportional: iiiii jjjjj mmmmm wwwww


Exam Question 184(p.347):What generic font family includes Courier?
Required Answer:monospace


The most common monospace typeface is Courier.


Other common examples of monospace include Lucida Console and Monaco.
Also, any font with the word mono in its name is probably a monospace font.


Because the whole point of monospace is to line things up with the left
margin, it does not make any sense to use it with text-align right, center, or
justify.


Exam Question 185(p.347): Which generic font should almost always be
text aligned left?
Required Answer:monospace


10.3.4 Cursive


Cursivefonts try to emulate human handwriting, as with calligraphy. Often
they connect adjacent letters in a flowing manner. They are used in headings
because they are beautiful, but they are avoided in body text and at small
sizes because they are more difficult to read. It can work well when there
are only a few words to be shown.


Exam Question 186(p.347): What generic font family emulates human
handwriting?

Free download pdf