Reviews and recommendations on this web site, including web hosting reviews, may result in commissions paid to Dave's Site. Follow on Twitter @firstdave
Check Out my new PhoneGap Tutorial / Cordova Tutorial


Hosting Tutorial - Table of Contents
This course was developed in much earlier days of the web and has been updated
into Web Design Basics for iPad (also written by me, but much better course!)
Try iPage Web Hosting -- Go Green for only $1.99/month (sponsored link)
Web Hosting HTML Tutorial CSS Tutorial Web Design Tutorial Hosting under $5


HTML Code: Favorite Icons, The Favorites Icon

HTML Tutorial Chapters:  

HTML5 Basics - Web Hosting Ideas - CSS, Web Design, HTML, JQuery - Twitter - Learn on your iPad

Setting Up a Favorites Icon (favorite.ico)

Favorites Icons (favicon.ico) -- Adding a Favorites Icon to your Web Site with HTML

Hopefully if you found this page you already know what a Favorites Icon is. In modern web browsers, when you visit a web site (and add it to your Favorites/Bookmarks) it will load a specific small icon set by the webmaster.

iPage 
has the Best Support

snapshot of Favorite's 
Icon

Look at the top of your browser near the Back button and WWW address to see the Favorites Icon.

The Favorites Icon will show up next to the URL (the http:// web address) in your web browser near the top of the window (close to the Foward and Back buttons).

(Some older versions of Internet Explorer don't add the icon until you add it to Favorites, just FYI.)


How do I set up a favorite icon?

Create a 16 pixel wide by 16 pixel high favicon.bmp file in a Program like MS-Paint, Adobe Photoshop, or Jasc's Paint Shop Pro, then use a program (such as the free IrFanView app [for Windows]) to reduce the colors to 16 colors [Image -> Decrease Color Depth], and then 'save as...' to a Windows Icon Format (favicon.ico).

Don't have a favicon.ico file yet? Learn how to make one.

Read my detailed walk-through guide: making a graphic into a Favorites Icon


Loading The Icon for The Entire Web Site (no coding)
iPage site 
builder banner
Web Hosting by iPage - Affordable and E-Commerce Enabled

Upload the image (favicon.ico) with FTP (read our FTP tutorial) to the root section of your web site. The root section is the main file area, where you would store the index.html (index.asp, index.php, etc) file for your main page.

//www.davesite.com/ would be the root
//www.davesite.com/webstation/ would not be the root
//www.davesite.com/webstation/html/ isn't root either

This file, placed properly, will load as the default for your entire domain.

Loading Extra Icons for Specific Folders and Pages

You can add customized links for sub-folders by using this code in the <head> section of your web page coding:
iPage 
site builder banner

<link REL="SHORTCUT ICON" HREF="http://yoursitedotcom.here/yourdir/favicon.ico">

Example: We place a new favicon.ico in http://www.davesite.com/webstation/html/ ... then link to it with:

<link REL="SHORTCUT ICON" HREF="http://www.davesite.com/webstation/html/favicon.ico">

The pages with the Favorite code load our special icon, everything else on the site loads our ROOT Favorite Icon.

Reload the page... and try adding it to your favorites or bookmarks. (In Internet Explorer you may need to clear your cache/temporary files and Restart the browser.) Once you've added it to the favorites, close the browser and then open it again, and return to the site? Does it show up now? It should! :)

Update: You can now download a plug-in for Photoshop, Photoshop Elements, or Paint Shop Pro to make your ICO file here.

continued... >

Related Articles:

Download the app that replaced this guide,
Web Design Basics for iPad to
Learn HTML and CSS Quickly.