Logo 1 Logo 2

HTML Code Examples Index
1. HTML Page Layout Basics 2. Creating HTML Hyperlinks 3. Creating HTML Tables
4. Font/Text Types & Colors 5. Working With HTML Images 6. Creating HTML Lists
7. Working With Backgrounds 8. Importing JavaScript Files 9. Importing CSS Files

HTML Font/Text Colors And Types

Lets take a look at some of the fonts/text types available, then we will demonstrate the colors:

1. Font/Text Types

a) Bold: You can blod a word or any statements you want by using the tag <b> and the closing tag is </b>.

b) Underline: You can underline any word you want by using the tag <u> Closing tag is </u>.

c) Italics: You can Italics any word you want by using the tag <i> Closing tag is </i>.

d) Font Face: You can change the font face by using the font face tag like so <font face="Arial"> and closing it with the tag </font>.

e) Font Size: You can change the font size by using the font size tag like so <font size="3"> and closing it with the tag </font>.

f) Creating A New Paragraph: You can create a new paragraph and automatically insert a blank line tag like so <p> and closing it with the tag </p>.

g) Creating A Line Break: You can create a line break between your text simply by using the tag <br>.


2. Changing Text Colors

You can change the color of any text you write simply by using the code:

<font color="red">

ofcourse dont forget to close by using:

</font>
Did You Like This Page? Please Share :D


Sayed
Hi, my name is Sayed, currently studying Computer Science at York University Toronto. I love creating websites and programming.
You can find me on Google+

Connect With Me:

This Site Is Hosted On:

Subscribe to my NewsLetter!
* indicates required