473,396 Members | 1,938 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

icon in browser address bar

Hi,

Does anyone know how to add an icon to the url in the address bar in the
browser?

Any help is greatly appreciated.

Greets,
Sybolt
Nov 9 '06 #1
3 2174
developer wrote:
Does anyone know how to add an icon to the url in the address bar in the
browser?
<link rel="shortcut icon" href="http://example.com/favicon.ico">

Change the URL to your own .ico file, and add a closing "/" if using XHTML.

--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk

Programming, n: A pastime similar to banging one's head
against a wall, but with fewer opportunities for reward.
Nov 9 '06 #2
Dylan Parry wrote:
<link rel="shortcut icon" href="http://example.com/favicon.ico">
[...]

Just realised I was reading comp.lang.javascript (not alt.www.webmaster,
as I thought I was!), so I should add that this isn't actually a
Javascript question ;)

--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk

Programming, n: A pastime similar to banging one's head
against a wall, but with fewer opportunities for reward.
Nov 9 '06 #3
ASM
developer a écrit :
>
Does anyone know how to add an icon to the url in the address bar in the
browser?
With FireFox and some others
you just need to :
- have an icon in *.ico format (not in bmp suffixed ico !)
- name your icon : 'favicon.ico'
- place this icon at root of your site

No need to code '<link ... blah />'
in your pages

But you can also have an icon in other graphic format, Firefox and some
others browsers accept it if specified in tag link
ig type="image/gif" ...

About IE and icon in favorites ... works + or - well.

--
ASM
Nov 9 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Todd Peterson | last post by:
I'm encountering some wierd behavior with a <link> tag over an HTTPS connection, vs. an HTTP connection... In an ASP/HTML page on my website, I've add a <link rel="shortcut icon"...> in order to...
8
by: Ed Isenberg | last post by:
I notice that a lot of Web pages have an icon that is displayed preceding the URL in the place in the browser where the URL is displayed. When I bookmark or add this to Favorites the icon is also...
3
by: Patrick.O.Ige | last post by:
How can i add an *.*ico file to the Address Bar (Without bookmarking). I just want to create an ico file and place it on my address bar..i created an ico file but it isn't working i placed the...
5
by: ACaunter | last post by:
Hi there, I was wondering how to put an Icon up in the top left corner of the browser window?? also, is there a way to know if the user closes the browser window with the X in the top right...
4
by: Ray Stevens | last post by:
Is it possible to place a company icon (logo) in the browser address field so that if a user copies it as a shortcut to his desktop the icon will be there. For example, like this:...
4
by: Buddy Ackerman | last post by:
How do you get a custom icon in address bar of the user's web browser? MSN, Excite, Yahoo and other display an icon in the address bar and when you add them to your link bar. How do I get my site...
1
by: partha | last post by:
This is my html file test.html <HTML> <HEAD> <TITLE>Main Window</TITLE> <link rel="shortcut icon" href="/MSN.Icon" type="image/x-icon"> </HEAD> <BODY > Should Work </BODY>
9
by: Christopher Carey | last post by:
I'd like to be able to control the icon presented in the upper left corner of the browser dynamically, based upon the page I'm serving. Is there a way to do this?
2
by: krishnan s | last post by:
helloo i am designer, i used the following code to display my icon on the address bar, it workout on mozilla but not on ie why? is that any error? aor any other option is there? <link...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.