The Digital Research Initiative
The University of North Carolina at Chapel Hill

  [layout] [html] [graphics] [navigation]
web.design101.html
  Controlling text formatting
What better way to add contrast to your page than by playing with its text formatting. HTML was originally meant to be a text formatting language. This is its firstmost strength, and you'd do well to take advantage of it.

<H1>First, you can format your text using the header tag</H1>

<H2>which makes your text stand out fairly well.</H2>


This is best for headers and footers, since the header tag goes from <H1> all the way down to <H7>. But this doesn't give you too many options. The <font> tag gives you much more room for customization. With <font> you can change the size, typeface and color of the text. The graphic design considerations page is a good example of changing the font color.

<font face="arial,helvetica" size=2 color=99cccc>
As I develop the awakening mind,<br>
I praise the buddhas as they shine...
</font>
  As I develop the awakening mind,
I praise the buddhas as they shine...
<font color=669999>
  <font size=2 face="arial,helvetica">
  The best in men's clothing</font><br>
  <font size=4>Paul's Boutique</font>
</font>
  The best in men's clothing
Paul's Boutique

But wait, there's more! You can even boldify and italicize text! It's so <b>easy</b> to format your text this way, and it does <i>wonders</i> for breaking up the <u>monotony</u> of large amounts of <tt>text</tt>.

<< back

 
  [layout] [html] [graphics] [navigation]

sharpness depends on the edge of a blade narrowing to nothingness   This site was created by Adam Fuller especially for students of the UNC School of Journalism's JOMC 050 Class and anyone else who may be interested. For more information, please contact daikat@email.unc.edu