|
|
 |
HTML Tutorial
How do I get bold, italics, and underlined text?
The tags for bold letters, italics letters, and underlined letters are as
follows...
This is what a bold tag does.
This is what a <b>bold</b> tag looks like.
You can also use the <strong></strong> tag to bold text.
This is what an italics tag does.
This is what an <i>italics</i> tag looks like.
You can also use the <em></em> tag to italicize text.
This is what an underline tag does.
This is what an <u>underline</u> tag looks like.
How do I get different font colors on my pages?
You have the ability to make different font colors, sizes, and styles on a web
page using the <font> tag. The font tag has several different attributes. The
most often used attribute is the color font tag. Colors can be chosen using the
Hexadecimal Color System. After a color is selected, it can be placed into the
<font> tag like these examples...
This is a blue font.
This is the tag to make the blue text: <font color="#3333FF">blue</font>.
This is a green font.
This is the tag to make the green text: <font color="#00CC00">green</font>
How do I increase the font size?
Another font attribute is the font size. This attribute is used to make text
smaller or larger. Normal browser text is given the number 0, so if you wish to
have text that is larger than the normal text size, you would use +1, +2, and so
on. If you wish to have smaller text, it would be -1, -2, and so on. Here are
some examples of smaller and larger fonts...
This is the normal font.
This is the code for the font: <font size="0">normal font.</font>
This is a small font.
This is the code for the font: <font size="-1">small font.</font>
This is a large font.
This is the code for the font: <font size="+1">large font.</font>
Note: Both the color and size attributes can be used together to get a larger
colored font.
|
|