Quick Tip Quick Index
Preformatted Text
Sometimes you have text that you want to lay out evenly. It's easy to do this when using a word processor: just choose Courier or a similar monospace font.
To preformat your text in HTML, making everything even, use the tags <PRE> and </PRE>. This will force the use of the Courier (or similar) font.
unit symbol quantity
-------------------------------------------
ampere A electric current
candela cd luminous intensity
kelvin K thermodynamic temperature
kilogram kg mass
meter m length
mole mol amount of substance
second s time
If you're using a word processor to create your document, it's best to design preformatted text using Courier, since you'll use the space bar to move to the right. Notepad uses Courier as a default, and most HTML editors do so, as well.
|