Cross Culture Ltd

Google

DownloadsMergemillFree Web TemplatesSupportPress Releases


Home > Web Templates > Learning HTML Codes > HTML Font Codes

LEARNING HTML CODES
HTML Font Codes
HTML Paragraphs
HTML to Insert Images
HTML Hyperlinks
CREATING WEB TEMPLATES
TEMPLATE ELEMENTS
TEMPLATE COLLECTION 0401
Light Background Download
Medium Background Download
Dark Background Download
TEMPLATE COLLECTION 0402
Download and Index Pages
TEMPLATE COLLECTION 0403
Download and Index Pages
TEMPLATE COLLECTION 0404
Light Background Download
Dark Background Download

You can create far better websites using the Mergemill free web templates if you at least learn the basic HTML codes we teach you here.

Most HTML tags are used in pairs -- an opening tag and a closing tag enclose the text to be affected. The opening tag consists of a keyword, attribute names and values, all enclosed by the symbols "<" and ">". A simple example is <strong> and a richer one is <font face="Arial, Verdana" color="#ff6030" size="-2">. The closing tag consists of just the keyword preceded by a forward slash, such as </strong> and </font>.

Some tags do not enclose anything. So their opening and closing tags are merged together, like <img src="mypicture.jpg" width="80" height="60" />. In HTML, the final slash is optional and often omitted.

Setting HTML Font Style

Text enclosed by the tags <em> and </em> is emphasized. Most browsers will set the affected text in italics. <strong> and </strong> set their enclosed text in bold.

Setting HTML Font Face, Color and Size

The Mergemill free web templates all contain page-wide settings for text face, color, size and line height. Most of these settings can be changed in Mergemill job definitions that use the free web templates. You do not need to use the font tag for most of your text. Use it to format isolated sections for special purposes.

The font tags has three attributes -- font face, color and size. Here they are with all three:

<font face="fontname1, fontname2, ..." color="#rgb" size="n"> text to be affected </font>

You list the names of the font, for the face attribute, to display the text enclosed. The browser will use the first font in the list found in the system on which it runs.

The color value can be a valid color name, such as color="black", or most often a hex color value giving the intensity of the red, green and blue components from 00 to ff. So the color value #ff0000 gives the strongest red color.

The font size number has a range of 1 to 7. You may also specify a number from -7 to +7 with respect to the default size.

MERGEMILL
USD 99

Add value to your websites while others labor to produce web pages.
BUY | LEARN | DOWNLOAD
ACRONIS TRUE IMAGE
USD 49.99

Complete system disk cloning to avoid possible total data loss.
BUY | LEARN
SPEED UP MY PC
USD 29.95

Rev up your PC engine and cruise full-throttle in just a few clicks!
BUY | LEARN | DOWNLOAD
NOVAMIND (for Mac OS X)
USD 99 Up

Enhance your creative thinking and have fun in the process.
BUY | LEARN | DOWNLOAD
WINBACKUP
USD 39.95

Protect yourself against crippling file and data losses.
BUY | LEARN | DOWNLOAD
WINTASK 5 PRO
USD 49.95

Remove useless resource hogs and security threats to make your PC run safer and faster.
BUY | LEARN | DOWNLOAD
MCAFEE ANTI SPYWARE
USD 39.99

Protect yourself from potentially HUGE financial losses and BIG headaches.
BUY | LEARN
MCAFEE VIRUSSCAN 2005
USD 39.95

Protect your PC TODAY from viruses, trojans, worms, and more.
BUY | LEARN
SPEED UP MY PC + WINBACKUP + WINTASK 5 PRO
USD 79.95

Buy this bundle and SAVE $80!
BUY NOW!



[ Top of Page ]

Copyright 1998-2006 Cross Culture Limited. All Rights Reserved.