g
Printer Friendly Version

editor  
BellaOnline's HTML Editor
 

How To Set The Font Formatting - Face, Size and Color Attributes

The following attributes are used to format text with the font tag.

Face Attribute
Use the code below to control the typeface (type of font) for the text on your webpage. Replace the FontName with the name of the font you wish to use. Then place your text between the opening and closing font tags.
<font face="FontName">Text goes here</font>


Size Attribute
Use the code below to control the size of the text on your webpage. Replace the 0 with the size you wish to use and place the code segment inside the opening font tag. Then place your text between the opening and closing <font> font tags.
size="0"

<font size="0">Text goes here</font>


Color Attribute
Use the code below to control the color of the text on your webpage with the font tag. Replace the 000000 with the HTML color code for your color choice. Place your text between the opening and closing font tags.
<font color="#000000">Text goes here</font>


♦♦If you are interested in creating a website with HTML, you might be interested in reading the HTML Basics Series which will teach you the basics of HTML as you build a simple three-page website and create a webpage template that you can use to add more pages to this site.

♦♦You might also want to try the Flash Basics Series that will walk you through the process of building a website with MacromediaR FlashR. If you are new to Flash or just need to refresh your skills, this is the place to start. This series of tutorials will give you the basic knowledge you will need to be able to create a simple Flash based website.



This site needs an editor - click to learn more!

HTML Site @ BellaOnline
View This Article in Regular Layout

Content copyright © 2013 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact Editor Wanted for details.



| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2014 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor