SitePoint Sponsor |
|
User Tag List
Results 1 to 7 of 7
Thread: logo of a website
-
May 18, 2009, 00:58 #1
- Join Date
- Mar 2009
- Posts
- 226
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
logo of a website
I am designing a website and so i wanted to know as to how can we change the image which is default a page at the url link?
-
May 18, 2009, 01:03 #2
- Join Date
- Mar 2008
- Posts
- 113
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You mean favicon? The one that is next to the address bar of browser?
Look here: http://en.wikipedia.org/wiki/Favicon
I got best results with:
<link rel="icon" type="image/vnd.microsoft.icon" href="http://example.com/image.ico">
-
May 18, 2009, 01:31 #3
- Join Date
- Mar 2009
- Posts
- 226
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
HTML Code:<link rel="icon" img src="..images/heart.gif" height="16" width="16"> <title>xyz.com</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
which is the folder ../images/love.gif
wat changes are to be made in this line
HTML Code:<link rel="icon" type="image/vnd.microsoft.icon" href="http://example.com/image.ico">
-
May 18, 2009, 01:38 #4
- Join Date
- Mar 2008
- Posts
- 113
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
you have to give the full url of the image in the href attribute
../images/heart.gif is not good enough (I'm not sure if '..' is allowed in urls, probably not)
-
May 18, 2009, 02:03 #5
- Join Date
- Mar 2009
- Posts
- 226
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
HTML Code:<link rel="icon" type="image/vnd.microsoft.icon" href="http://matri/images/heart.gif height="16" width="16"">
-
May 18, 2009, 02:09 #6
- Join Date
- Jun 2007
- Location
- kavoir.com
- Posts
- 96
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
I guess you meant the favicon? It can be specified in the head section of the HTML:
Code:<link rel="shortcut icon" href="/favicon.ico" />
I blog about making websites, technically.
Online image converter - all formats that you can think of.
-
May 18, 2009, 02:09 #7
- Join Date
- Apr 2008
- Location
- North-East, UK.
- Posts
- 6,111
- Mentioned
- 3 Post(s)
- Tagged
- 0 Thread(s)
Code:<link href="http://www.yourserver.com/images/heart.gif" rel="icon" type="image/x-icon" /> <!-- change .gif to .ico -->
@AnthonySterling: I'm a PHP developer, a consultant for oopnorth.com and the organiser of @phpne, a PHP User Group covering the North-East of England.
Bookmarks