To create a favicon is very simple. Copy the following code and paste it in between the <head></head> tag of the web page:
<link rel="shortcut icon" href="favicon.png"/>
Note: You must change the "favicon.png" to the URL of the small image you intend to use as favicon.
That is all.