Silverlight webpage icon

I was wondering how to add our own icon to a web page for our Silverlight application? I know how to set the text (using the Title property for the page), but the icon eludes me.

For example, see image below. The leftmost tab has G for Google, and the most correct one is the CNN icon. How can I get my own?

alt text http://www.umail.ucsb.edu/~mguidry/firefox/tab.jpg

Thank you for your help:)

+3
source share
3 answers

Hmmm ...

Including the icon in the root directory works in Firefox and Google Chrome, but not in Internet Explorer. Any thoughts on what might cause this?

EDIT: . IE .ico. , favicon.ico .aspx, :

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

- Silverlight.

( ) - favicon.ico

(, + F5 ), .

+4

http://www.w3.org/2005/10/howto-favicon

, , .ico. Photoshop, , favicon.ico.

http://www.photoshopsupport.com/tutorials/jennifer/favicon.html

And you are the root site of the site where your very first home page is located, for example index.html or index.asp, or index.php.

Most web hosting plans have a folder called "public_html" if you see a folder that is most likely your "root" folder.

+1
source

Source: https://habr.com/ru/post/1716458/


All Articles