• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 3. Text Formatting > Using a Monospaced Font

Using a Monospaced Font

Every visitor to your page has two fonts specified in their browser's preferences one regular, proportionally spaced one and the other monospaced, like a typewriter's text. By default these are Times and Courier, respectively. If you are displaying computer codes, URLs, or other information that you wish to offset from the main text, you might want to format the text with the monospaced font.

To format text with a monospaced font:

1.
Type<CODE>,<KBD>,<SAMP>, or<TT>.

2.
Type the text that you want to display in a monospaced font.

3.
Type </CODE>, </KBD>, </SAMP>, or </TT>. Use the tag that matches the code you chose in step 1.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint