How to Use the HTML Font Tags
Simple knowledge in HTML coding would come a long way for a newbie webmaster like you. It’s going to be handy in blogging or when typing texts on HTML-enabled boxes. Here’s one HTML tag that you should learn by heart – the Font tag.
Font would refer to the letter type used for the text. The common examples would be Times New Roman, Arial, and Tahoma. There are a lot of other font types that you can use. If you look at your word processor program (like MS Word) you’ll see the font type selection up the tool box and it sits right next to the font size. Changing the font in MS Word is as simple as clicking on the drop down arrow and choosing the type you want. In the web world, things are a little different though.
If the font tool bar is indeed available, like if you are blogging using WordPress, it’s quite simple to change the font type and size. Otherwise, you have to follow this coding guideline:
<font> text </font>
If you want to change the font of a word, sentence, or paragraph, you have to enclose it in the format given above. Of course, there are other tags that you have to add to it for it to work. The basics are:
A. FaceB. SizeC. Color
A. Face – refers to the type of font you’d rather use. This is where the Times New Roman, Arial, Tahoma, and Verdana font names go. Here’s how you do it:
<font face=“Georgia”> This is an example of a Georgia text. </font>
The resulting text would appear in Georgia font type. Since face is the only one defined, the rest of the attributes will be in default. Color will be black and size is 3. If you would like to change the font size and the color, just continue reading.
B. Size – size would pertain to size of the text. If you want to make it big, you have to assign a number higher than 3. If you want the font to go small, choose font size 1 or 2. The allowable size for a font is 1 to 7. Check out this example:
<font face=“Georgia” size=“5”> This is an example of a size 5 Georgia text. </font>
C. Color – this would define the hue of your text. You can use the actual name of the color like red, green, blue, etc. If you’re familiar with the Hex Code for colors, you can use that too. Check out these examples:
<font face=“Georgia” size=“5” color=“green”> This is an example of a size 5 Georgia green text. </font>
Or
<font face=“Georgia” size=“5” color=“#008000”> This is an example of a size 5 Georgia green text. </font>
That’s it! Now try these codes in an HTML page creator program like FrontPage and see how they work in action.
How to create a Facebook Group
How to add chat to your website
How to Use the Include File Syntax in ASP, HTML, and PHP
How to Install a Free Guestbook on your Site
How to create a free forum website
How to Add a Free Counter to Your Site
Internal 500 Error
Header Tags
What is a FavIcon
Horizontal Dividers
How to remove copyrighted links
What is iFrame
How to setup an email on your domain
Accept Donations with PayPal
How to add a plug-in to WordPress
How to make a theme for Xoops
How to Install Xoops
How to make a Joomla theme
How to Make a WordPress Theme
How to add a shout box to your website
How to Burn Feeds using FeedBurner
How to install Mambo
How to Justify Texts on your Website
How to create a contact me form
How to make a table in Html
The Div tag
Disabling Right Clicks on your Website
How to Add Background Music to a Web Page
How to Install Joomla in 5 Easy Steps
How to Install WordPress on Your Website
How to Use the HTML Font Tags
SMF Forum
How to add a image to a link
How to add your website to Google
How improve your pagerank
The Redirection Code
Hex Color Chart
Scrolling text
The Font Tag
Special Html Characters
What is a URL
Hyperlink Code
How to Center a text
The "Underline" Html Tag
Bold Html Tag
Line Break
New Paragraph Html tag
How Does FTP Work?
How to add Youtube videos to Myspace
How to add Youtube videos to your web page
What NOT to do when making a website