Tech Tips Home
The Best Tech Tips And Daily Deals
Newsletter On The Internet!

Shop online 24hrs a day or call us Mon-Fri
8:30AM-4:30PM EST - 1-800-915-2088
WorldStart Tech Tip And Store Search
Email: Password: Login Remember Me

Like what you see here? Subscribe to the Tech Tips newsletter!   Email: Subscribe

Font, Color and Highlighting Html Tips

Wednesday, April 28th, 2010 by | Filed Under: Web Design
 
Loading...



It’s useful to know how some simple HTML codes can change text styles (like the ones controlling fonts and their visual features) as they are added to the web pages.

Let’s begin our discussion with a simple HTML script which would create a text paragraph.

Assume you are going to make a new web page containing a short text line using the Times New Roman font.

This code can be used: <p><font face=”Times New Roman” size=”6”>Hello and welcome to my web page.</font></p>

After adding this code to your page and saving the work, the completed page viewed on browsers will look like this.

image

The higher the number selected in the size box, the larger the font will been seen. Now, one great idea would be changing the font type to Arial and at the same time replacing the default black word color with red to add some pizazz. Please use the following code sample for this purpose: <p><font face=”Arial” size=”6” color=”#FF0000”>Hello and welcome to my web page.</font></p> and the finished work would generate this view.

image

As you can see, in the HTML world, colors are represented by some digits and letters, and by searching the net you can also find hundreds of standard color codes to use while writing. The next step is to play with the highlighting option because using this trick will allow you to highlight any parts of your written phrases within seconds. Via the following code, the sentence written would get covered using the yellow color: <p><font face=”Arial” size=”6” color=”#FF0000”><span style=”background-color: #FFFF00”>Hello and welcome to my web page.</span></font></p>. The visual representation would be as follows.

image

In addition to the fonts like Times New Roman and Arial, there are other standard and web compatible writing systems to use while building. A popular and compatible choice is the Verdana font. Let’s use it as the default font and then choose the Italics and Underlining text effects to decorate the text line in a cool style. Please check out the following code sample: <p><i><u><font face=”Verdana” size=”6”>Hello and welcome to my web page.</font></u></i></p> And that would look like this:

image

~Hamid Reza

Leave a Reply


Like these tips? Get them for FREE in your email!

WorldStart's Tech Tips Newsletter

  • Tech Tips Daily - Become a tech pro! Get the very best tech and computer help sent directly to your email every weekday!

  • Tech Tips Weekly - If you don't want our Tech Tips newsletter every day, then sign up for this weekly newsletter to get the best information of the week. Sent on Fridays.

Other Newsletters

  • WorldStart's Daily Deals - Every week, we send out great deals in our Daily Deals newsletter. Many of these deals are exclusively for our Daily Deals newsletter subscribers and can't be found with our regular specials.

  • Just For Grins - Each issue includes a couple clean jokes, some funny quotes, and a hilarious reader's story. Newsletter is sent five days a week.


Enter Email Address:

Subscribe

Your e-mail address is safe with us!
We only use it to send you the newsletters you request. It is NEVER disclosed to a third party for any reason, ever! Plus, if you decided you don't like our newsletters (don't worry, you'll love them), unsubscribing is fast and easy.

Free Newsletter Signup



Tech Tips Daily

Become a tech pro! Get the very best tech and computer help sent directly to your email every weekday!

Tech Tips Weekly

The week's best in tech and computer help. Get your issue sent to your email every Friday!

WorldStart's Daily Deals

The very best deals on the Internet! Get a new set of incredible sales every day of the week!

Just For Grins

Clean jokes, funny quotes, and hilarious comics. Sent 5 times a week straight to your email.


Subscribe


Love Worldstart? Refer A Friend!

WorldStart's Premium Membership

Tip Archive


Categories:
Archives: