
HTML>HTML Formatting>Font Type Tag
Font Size Font Colour Font Type Teletype Text Alignment
The Font Type Attributes
You may want to use a differen t font face or put items of text in bold or italics. There are a number of tags which will allow you to do this. Look at the following tags and the explanation for each tag.
<font face="Arial"></font> : Sets the font face to Arial
<font face="Veranda"></font> : Sets the font face to Veranda
<b>All of this text is in bold</b> : Bolds the text between the tags.
<i> All of this text is in Italics</i> : Puts the text between the opening and closing tag in Italics.
Example
Try it out for yourself!
Examine the HTML code below. Cut and paste (Ctrl c + Ctrl v) the following HTML code into the form window below and press the check it out button to see the resulting webpage.
<html>
<head>
<title>The Font Type Attributes </title>
<body>
<h2>The Font Type Attributes</h2>
<p><b>All of this text is in bold</b></p>
<p><i>All of this text is in Italics</i></p>
<font face=arial>
<p>This font face is arial</p></font>
<font face=veranda>
<p>This font face is veranda</p></font>
</body>
</html>Creating your own webpage
Follow these simple steps to create your own webpage and to view your created webpage in your browser.