Step 1: Add the below code to the section of your page: Step 2: Create either an image or text link that will be used as the add-to-favorites link. For the href attribute, use the following code: javascript:addbookmark() Here's an example: Bookmark this site! Since this script only functions in IE 4+, you may wish to hide it from other browsers by dynamically writing out the link. The easiest way to do that is to first use the document.all object to sniff out IE 4 users, then use the document.write() method to write out the link only for them. For example: It's up to you, though, on how exactly you want to do it. Recommend Us!