View previous topic :: View next topic |
Author |
Message |
hc2995 -
Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
|
Posted: Sun Sep 24, 2006 8:39 pm Post subject: Favicons? |
|
|
I forgot how to add favicons to webpages (the HTML code thing for it) if someone knows it post it pls, thnx :D _________________ Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Sun Sep 24, 2006 8:49 pm Post subject: |
|
|
It's not required. As long as your favicon.ico is in the root folder of your website, the browser will automatically
detect it. But, if you must have the code for it...
Code: | <link rel="shortcut icon" href="http://example.com/favicon.ico" type="image/x-icon"> | FYI - It must go in the headers.
Last edited by Moxxnixx on Sun Sep 24, 2006 11:02 pm; edited 1 time in total |
|
Back to top |
|
 |
hc2995 -
Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
|
Posted: Sun Sep 24, 2006 10:41 pm Post subject: |
|
|
kk thnx :D _________________ Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Sun Sep 24, 2006 10:57 pm Post subject: |
|
|
Actually, the proper code is...
Code: | <link rel="shortcut icon" href="http://example.com/favicon.ico" type="image/x-icon">
<link rel="icon" href="http://example.com/favicon.ico" type="image/x-icon"> |
The second line is only needed if you intend to offer an alternative image to
modern browsers (e.g. an animated GIF).
Note - I edited my first post to show the correct one. Although, it should still work. |
|
Back to top |
|
 |
|