473,796 Members | 2,872 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Adding a "Favorites" icon

I would like to add an icon to my website that would show if the site is
bookmarked.

I found this tag on the web:

<link href="images/favicon.ico" rel="shortcut icon">

However, Visual Studio shows this warning on the tag:
"The values permitted for this attribute do not include "shortcut icon".

I'm using the default doctype of:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

Should I just ignore the warning or is there other syntax I should use?

Thanks!
Nov 19 '05 #1
1 3375
Try telling it that its an icon with a type reference, but you can ignore
the error - it should still work. vs is just in a muddle.

<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Jordan" <no**********@y ahoo.com> wrote in message
news:3o******** *********@torna do.rdc-kc.rr.com...
I would like to add an icon to my website that would show if the site is
bookmarked.

I found this tag on the web:

<link href="images/favicon.ico" rel="shortcut icon">

However, Visual Studio shows this warning on the tag:
"The values permitted for this attribute do not include "shortcut icon".

I'm using the default doctype of:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

Should I just ignore the warning or is there other syntax I should use?

Thanks!

Nov 19 '05 #2

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

Similar topics

2
8516
by: Simon Wigzell | last post by:
What is the call? Better yet is there a link to a page that describes all the possible javascript calls to the various browser menu items and explains compatibility across different browsers? Thanks!
1
1161
by: Prophet | last post by:
I have figured out how to add my page to the favourites - how is it that I can change the icon which appears on the users favourite list beside the name of the web page?
3
6495
by: Robert Oschler | last post by:
I have a Javascript bookmarklet that people want to add to their bookmarks. In Win 2k and below, addToFavorites() works fine. In Windows XP it generates a permission error and does nothing except show the "javascript error" icon in the lower left hand corner of Internet Explorer. My questions: - Is there a way to do this that works with Windows XP? - If it's a security level thing, is there a way for the Windows XP user to...
9
1749
by: Dennis Ruppert | last post by:
Greetings This is rather ambitious: I have a split database that contains many different reports. I have a form that the end user launches the reports from. They select the report criteria from several combo boxes, click a "Go" command button to launch the report. I then pass the report criteria to various report "templates" as an SQL string.
0
1688
by: Mark Shehan | last post by:
Hi all I have an app that has a web browser control embedded in a windows form. I have no problem in loading the favorites into a list and getting them to work but does anyone know of an easy way to add a webpage to favorites outside of IE? I am not 100% sure of the information that goes into these ..url files nor how to get it from the current page being displayed. Thanks in advance Mark
4
2111
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: http://espn.go.com/
1
3843
by: j.eckles | last post by:
I'm trying to determine if there is a way in VBScript, perhaps via ADO or DAO, to access what I'll term MS Access "object groups". What I mean by "object groups" are the folders that you see under the "Groups" pane on the left hand side of the Access 2003 application, just below the "Objects" pane. There's always one default Group called "Favorites". These are also the groups referenced in the "Groups" and "Add to Group" menu items...
1
3286
by: naeembhatti | last post by:
here is my code please can u correct it. <A HREF="javascript:window.external.AddFavorite('javascript:(function(){myRef = window.open(\'http://localhost/dealarmy/bookmarklet/index.php?page=\'+escape(location.href), \'Bookmarklet\',\'menubar=yes,status=yes,location=no,toolbar=no,scrollbars=yes,width=770,resizable=yes,left=120\');setTimeout(\'myRef.focus()', document.title);">Add Results to Favorites</a>
2
2732
hsriat
by: hsriat | last post by:
I have a page working on Ajax. The problem is, after doing many changes using Ajax (like uploading, changing name, adding to favorites etc), the status bar starts behaving unexpectedly. Even when nothing is being transfered, it displays Transferring data from localhost... and that too continuously. The progress bar also shows that its working, and its all green (filled). It doesn't even occur on a particular action. Its just random. This is...
0
9679
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9527
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10453
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9050
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7546
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6785
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5573
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.