Become a "Friend of BCN"

BCN Logo Boulder Community Network
Formatting text

Plain text is okay, but we're used to using bold and italics and other formats to make our text interesting and stand out.

Bold - <b>. . .</b> (physical) or <strong>. . .</strong> (logical)
Italic - <i>. . .</i> (physical) or <em>. . .</em> (logical)

You can also alter the text by making it larger or smaller

<big>. . .</big> or <small;>. . .</small>

Each use of big or small will make the font one step bigger or smaller.

<big><big>.. .</big>.</big>

Exercise 3

Try changing the style of some text Try changing the size of some text

answer

Forced line break - <br>

Horizontal rule - <hr>

Note that these are not paired tags. And we can add attributes to them. To alter the horizontal rule length and width, do the following:

<hr width="70%" size="5"> The "5" means 5 pixels high.


Exercise 4

add some rules, and a long quote

answer

Boulder Community Network


Note: HTML is a(n evolving) standard. HTML 3.2 allowed color attributes in the font tag. HTML 4.0 does not.

Next

Copyright © Pierre Malraison All rights reserved.