Home - Help & Support - Contact Us
    

HTML Fonts And Text Color

Extended Fonts
The newest version of many browsers supports extended fonts, in which you can choose to have the document fonts be other than the normal one. This is accomplished by adding the FACE="font_name" attribute to the <FONT> tag. The most commonly supported fonts are Verdana, Arial, Helvetica, Impact, Comic Sans MS, and a few others. It is not recommended to make your page font dependent, because the older versions of many browsers don't yet support this feature.

Example of Extended Fonts...

<font size=+2 face="Verdana">Verdana</font>
Verdana
<font size=+2 face="Arial">Arial</font>
Arial
<font size=+2 face="Helvetica">Helvetica</font>
Helvectica
<font size=+2 face="Impact">Impact</font>
Impact
<font size=+2 face="Comic Sans MS">Comic Sans MS</font>
Comic Sans MS

Note: If you don't see one or more of the above fonts, then your browser probably doesn't support the extended fonts.

Text Color...

You can change the color of the text by setting the COLOR="font_color" attribute in the <FONT> tag. The Color is usually set by using the hexadecimal system (#000000 black to #FFFFFF white) but can also be set in newer browsers by using the simple word of the color. (Red for Red, Blue for Blue, etc.)

Example of Text Color...

<font color="Blue">Hey I'm Blue!</font>
Hey I'm blue!
<font size=+2 face="Impact" color="Green">Hey I'm green and in Impact Font!</font>
Hey I'm green and in Impact Font!
<font color="Red">Hey I'm red!</font>
Hey I'm red!

 

Your own HTML page...

Add the following to your HTML page ("Home.htm"): (the blue text is what to add)

<html>
<head><title>My Home Page</title></head>
<body realsrc="bgnd.gif" background="http://www.zeronese.net/knowledge-base/admin/bgnd.gif">
<center><font color="Blue"><h1>YOURNAME's Home Page</h1></font></center>
<hr>
This is the home page of <b>YOURNAME</b>.
<p>Type something about yourself here. Describe briefly who you are and what you do for a living. Remember to use bold and italic text, for emphasis.</p>
</body>
</html>
 

save and test.

Rated:NR/0 Votes
567 Views
More Articles From HTML
More Articles From HTML
Print Article
Print
Share |
Comments, Questions & Reviews

Comments is currently disabled for this article!
Related Articles and Readings
Clean HTML Code and Comments
Clean CodeClean code means that your HTML coding follows all specifications. Here are a few ways to keep your code ...
HTML Common Tags
Headings...Headings are some of the most important tags within the BODY of your HTML document. You will usually use a ...
Installing Fonts
xYou should install fonts included in web design template package before proceeding work with PSD and FLA source files.  If ...
Is There a Size Limit on MySQL Databases?
The MySQL database quota is subtracted from the disk space allocated to your hosting account. Caution: Large and multiple databases use ...
Making the width size of the HTML template fill up to 100%
Some templates are designed and sliced for an 800x600 resolution screen only, so you can't change the template to fit ...
The information provided in this article is for general information and/or the comments is the sole responsibility of their respective authors and does not necessarily reflect the opinion of zeronese.net does not endorse any article and/or comments published by our web users unless otherwise noted.