Professional Documents
Culture Documents
Chapter 3 (Bold, Italics, Font and Other Character Formatting Options)
Chapter 3 (Bold, Italics, Font and Other Character Formatting Options)
Introduction to HTML
1
Character Formatting
In this chapter you will learn how to enhance your page
with Bold, Italics, and other character formatting
options.
Objectives
Upon completing this section, you should be able to
1. Change the color and size of your text.
2. Use Common Character Formatting Elements.
3. Align your text.
4. Add special characters.
5. Use other character formatting elements.
2
Bold, Italic, Font and other Character
Formatting Elements
• <B> Bold </B>
• <I> Italic </I>
• <U> Underline </U>
3
Bold, Italic, Font and other Character
Formatting Elements
Size = “Number” The SIZE attribute of the FONT
element. E.g.,
<FONT SIZE = "1">Font size 1</FONT><br>
<FONT SIZE = "2">Font size 2</FONT><br>
<FONT SIZE = "3">Font size 3</FONT><br>
<FONT SIZE = "4">Font size 4</FONT><br>
<FONT SIZE = "5">Font size 5</FONT><br>
4
Bold, Italic, Font and other Character
Formatting Elements
Face = “Number” The SIZE attribute of the FONT
element. E.g.,
5
<FONT FACE = "Bedrock" size = "5">Bedrock</FONT><BR />
Bold, Italic and other Character Formatting
Elements
6
Bold, Italic and other Character Formatting
Elements
<B> Bold</B> Bold
<BR> italics
<I> italics</I> Underlined
<BR> Colored
<U> Underlined </U> Strong
<BR> Citation
<FONT COLOR=“FF0000”>
Colored </FONT>
<BR>
<STRONG> Strong </STRONG>
<BR>
<CITE> Citation </CITE>
7
Alignment
Some elements have attributes for
alignment (ALIGN) e.g. Headings and
Paragraphs.
8
Alignment
9
Special Characters & Symbols
Special Entity Special Entity
Character Name Character Name
Ampersand & & Greater-than > >
sign
Asterisk ∗ Less-than sign < <
∗∗
Cent sign ¢ ¢ Non-breaking
space
Copyright © © Quotation mark " "
Fraction one ¼ Registration ® ®
qtr ¼ mark
Fraction one ½ Trademark sign ™ 10
half ½ ™
Additional Character Formatting Elements
12