First, change the name of the favicon to "favicon.ico".
Insert the following HTML tag inside the <> ... < /head> section of your web page:
If you have downloaded an animated favicon, insert this:
< rel="icon" href="NAME OF THE ANIMATED FAVICON.gif" type="image/gif">
After you have generated your favicon and saved it to your computer, it must be renamed to favicon.ico (since most tool generated favicons are given a random name).
The common method for using a favicon is to simply upload it to the root directory of your public web space. This is where most web browsers automatically look for it.
Just uploading the file is generally fine, but for the best support across various browsers, place the following lines in the head section of your HTML:
(where http://example.com/favicon.ico is the path to your favicon)
Be sure to add that code in all of your html files - not just the index.
http://www.html-kit.com/favicon/test/54b72bfbbe81097484b94ce1f68010f0/
No comments:
Post a Comment