Computer Dictionary | Javascripts | Search Engines | SEO | Text Link Guide | Web Design
Internet Marketing Tools | Ecommerce Software | Michael Wong | Sponsored Links | Help
 
Web HTML-HTML.com
You are here: HTML > Fonts

Font Color

Font colors in styles are set with the color property. For example, this style rule (in a STYLE tag or in a style sheet file) says that all <STRONG> elements should have a font color of red:

STRONG {color:red}

So when we use the <STRONG> tag:

I feel <STRONG>very strongly</STRONG> about this.

we get this:

I feel very strongly about this.

Remember that it's color, not font-color. All the other font related properties begin with the word font. This is the exception.

Color expressions for color work the same as for HTML color attributes. You can either give the name of a color, or a red-green-blue expression. For example, this code creates a class called preppy where the fonts are hot pink: #FF3399. Notice that the RGB color code is preceded by a pound (#) sign just like in HTML:

.preppy
{
color:#FF3399;
font-weight:900;
}

We can then apply the preppy class to a <SPAN ...> element:

I'm feelin' <SPAN CLASS="preppy">fiiiiiiine</SPAN>.

which gives us

I'm feelin' fiiiiiiine.

Setting the Color of Links >>>

          

What's New?

'Social Bookmarking 101' in Link Building Software
'Advanced Web Ranking' & 'SEO Image' in Search Engine Rankings
'LotusJump' & 'SheerSEO' in SEO Software
'Revenue Surge' in UpSell
'MemberSpeed' in Membership Software
 

Top 5 Best Sellers

1.Text Links Ads - Buy & sell text links
2.Definitive Guide to Google AdWords - How-to, latest tips, case studies, screenshots, Q&A
3.Internet Business Promoter - Get top 10 Google rankings or money back SEO software
4.Site Build It! - Internet business & marketing system used by 40,000 customers
5.SEO EliteHot! - Big collection of SEO & traffic generating tools
 

My Other Sites

GoDefy Marketing Software - Compare 100s of web marketing products & services
Jumbo Keyword Tool - 70+ 1-Click AdWords keyword editing functions
Internet Marketing Blog - AdWords, SEO, affiliate marketing, etc.
 

Free Marketing Tools

1.Search Engine Rankings
2.AdWords Wrapper
3.Keywords (Top 500 updated daily)
4.Link Popularity Check
5.Marketing Tips
 

Copyright © 2002-9 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com