Font Attributes

Playing Around With Fonts

This assignment is all about playing around with different font attributes. It should be an easy assignment since it doesn't take too many brain cells to figure out how to play with fonts, but for those of you who are into decorating your page with different kinds of fonts, this may be a fun assignment.

Early browsers did not offer the abilty to present text in a variety of fonts. Even now, the font you specify may look entirely different depending on the browser and the operating system being used. Although there are fewer discrepancies now than a few years ago, there are still inconsistencies that you may have to deal with if you are concerned with your page looking the same regardless of how it is being viewed.

If you are viewing a web page with Firefox, then you can get a list of available fonts (which you can specify using the font tag) by selecting the Firefox menu and pulling down to Preferences. Next select "General" on the left side of the resulting dialog box and then click on the "Fonts and Colors..." button. From here you can get three lists of available fonts. It is often a good idea to designate more than one font since not all platforms (brower and operating system) offer all possible fonts or sometimes they use different names to refer to very similar fonts.

NOTE: If the name of the font is more than a single word in length, then you must place it in quotes when using it with the face attribute of the font tag. Otherwise examine the source for this page to learn how to use the font tag.

Inspect the source for this page. You may have special questions about the use of the FACE attribute. Usually you simply supply one font for this attribute, but you can provide a list of fonts like this:

<font face="Courier, Bookman, Gothic"> In this case the system will attempt to use Courier if it is available. If Courier is not available, then it will try to load Bookman and if that is not available it will attempt to load Gothic. In any case, the system will have a default font which it will load if it can't find any of the fonts in your list of font faces.
You will either write or copy a poem of at least 6 verses in length (with each verse being at least 4 lines long). Each verse will be displayed using a different font face and color, but the font size will be set to 4 for the whole poem. Also your poem must read like a poem with a rhyming scheme and some sort of patterned cadence.