By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,492 Members | 1,987 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,492 IT Pros & Developers. It's quick & easy.

images on URL line

P: n/a
How do you put an image on the URL line? Go to google and in the
navigation box you will see a Multi colored G framed by a multi colored
box. What is the html command to do this?

Thanks
Mar 3 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Mark Winter wrote:
How do you put an image on the URL line? Go to google and in the
navigation box you will see a Multi colored G framed by a multi colored
box. What is the html command to do this?

Thanks
These are icons, call favicons because that's what Micro$oft calls them.

You need an icon file with the extension .ico. While some browsers can
use other image files, others can only use .ico files. Note that you
cannot merely take a GIF or JPEG file and rename it as an icon file; the
internal formatting is different.

Then you need to put the following in the HEAD section of your HTML:
<link rel="shortcut icon" href="xx.ICO" type="image/x-icon">
<link rel="icon" href="xx.ICO" type="image/x-icon">
where "xx" is the name of the file. These will not only put the icon in
the address area of your browser when loading the page, but it will also
(depending on what browser you use) put the icon in your bookmarks
(favorites) file.

For my Web site, I use seven different icons, depending on the topic
presented in the Web page. See my
<http://www.rossde.com/internet/web_design.htmlfor details. Scroll
down that page about half-way.

--
David E. Ross
<http://www.rossde.com/>

Natural foods can be harmful: Look at all the
people who die of natural causes.
Mar 3 '07 #2

P: n/a
On Fri, 02 Mar 2007 17:51:25 -0800, "David E. Ross"
<no****@nowhere.notwrote:
>You need an icon file with the extension .ico. While some browsers can
use other image files, others can only use .ico files. Note that you
cannot merely take a GIF or JPEG file and rename it as an icon file; the
internal formatting is different.
For the OP, this page has links to a couple of icon editors:
<http://www.g4tv.com/techtvvault/features/12427/Make_Your_Icon_Appear_in_the_Browsers_Address_Bar. html>
>Then you need to put the following in the HEAD section of your HTML:
<link rel="shortcut icon" href="xx.ICO" type="image/x-icon">
<link rel="icon" href="xx.ICO" type="image/x-icon">
where "xx" is the name of the file. These will not only put the icon in
the address area of your browser when loading the page, but it will also
(depending on what browser you use) put the icon in your bookmarks
(favorites) file.
I see the icon on the address bar and in bookmarks by using just the
"shortcut icon" line. How does the "icon" link get used?
--

Charles
Mar 4 '07 #3

P: n/a
BobaBird wrote:
On Fri, 02 Mar 2007 17:51:25 -0800, "David E. Ross"
<no****@nowhere.notwrote:
>You need an icon file with the extension .ico. While some browsers can
use other image files, others can only use .ico files. Note that you
cannot merely take a GIF or JPEG file and rename it as an icon file; the
internal formatting is different.

For the OP, this page has links to a couple of icon editors:
<http://www.g4tv.com/techtvvault/features/12427/Make_Your_Icon_Appear_in_the_Browsers_Address_Bar. html>
>Then you need to put the following in the HEAD section of your HTML:
<link rel="shortcut icon" href="xx.ICO" type="image/x-icon">
<link rel="icon" href="xx.ICO" type="image/x-icon">
where "xx" is the name of the file. These will not only put the icon in
the address area of your browser when loading the page, but it will also
(depending on what browser you use) put the icon in your bookmarks
(favorites) file.

I see the icon on the address bar and in bookmarks by using just the
"shortcut icon" line. How does the "icon" link get used?
I'm not really sure. I was advised to use both. It works with both and
is no real bother to use them.

I might run a test. However, I have only SeaMonkey and IE installed.
Thus, the test would not reveal how Safari, Opera, Konqueror, etc
respond to having only one or the other.

--
David E. Ross
<http://www.rossde.com/>

Natural foods can be harmful: Look at all the
people who die of natural causes.
Mar 4 '07 #4

P: n/a
On Fri, 02 Mar 2007 18:31:30 -0700, Mark Winter
<mw*****@mwsoftware.comwrote:
>How do you put an image on the URL line? Go to google and in the
navigation box you will see a Multi colored G framed by a multi colored
box. What is the html command to do this?

Thanks
I expect you do mean what David and BobaBird mean but it is infact
possible in Mozilla and a few other browsers to store data in a URL.

You get your data, Base64 encode it and then use a 'data://' scheme
for it.
Mar 4 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.