Favicon

      16
Are there any modern browsers that won"t detect the favibé.ico automatically? Is there any reason to add the links tag for favibé.ico?

My guess is that it"s only necessary lớn include it in the HTML document if you decide to lớn go with GIF or PNG...

Bạn đang xem: Favicon


*

*

To choose a different location or file type (e.g. PNG or SVG) for the favicon:One reason can be that you want to have the ibé in a specific location, perhaps in the images folder or something alike. For example:

This diferent location may even be a CDN, just lượt thích SO seems to lớn vì with .

To learn more about using other file types lượt thích PNG kiểm tra out this question.

For cabít busting purposes:Add a query string to lớn the path for cache-busting purposes:

Favicons are very heavily cached & this a great way to ensure a refresh.

Footnote about mặc định location:As far as the first bit of the question: all modern browsers would detect a favinhỏ at the mặc định location, so that"s not a reason to lớn use a links for it.

Xem thêm: Chỉ Người Ngu Còn Tỏ Ra Nguy Hiểm : Hiệu Ứng Dunning, Khong Noi Nhieu Voi Nguoi Ngu Ma To Ra Nguy Hiem

Footnote about rel="icon":As indicated by
Semanino"s answer, using rel="shortcut icon" is an old technique which was required by older versions of Internet Explorer, but in most cases can be replaced by the more correct rel="icon" instruction. The article
Semanino based this on properly link to the appropriate spec which shows a rel value of shortcut isn"t a valid option.


Share
Follow
edited Jun 11 "17 at 19:24
answered Aquảng bá 18 "12 at 21:22
*

JeroenJeroen
53.2k3030 gold badges171171 silver badges279279 bronze badges
3
Add a bình luận |
54
Please note that both the HTML5 specification of W3C & WhatWG standardize

Note the value of the "rel" attribute!

The value shortcut icon for the rel attribute is a very old Internet Explorer specific extension & deprecated.

So please consider not using it any more & updating your files so they are standards compliant và are displayed correctly in all browsers.

Xem thêm: Nhạc Và Lời Bài Hát Giáng Sinh Ngọt Ngào (Nhạc Ngoại), Những Bài Hát Noel Hay Nhất Tiếng Việt + Anh

You might also want to take a look at this great post: rel="shortcut icon" considered harmful


Share
Follow
edited Jun 30 "15 at 7:42
answered Jun 30 "15 at 7:36
*

SemaninoSemanino
85977 silver badges88 bronze badges
1
Add a phản hồi |
13
It all depends on which format of image you lượt thích khổng lồ use!if you have an inhỏ of your trang web, it will be much better for UX!

demo

show hình ảnh sản phẩm in the browser tab

*


Share
Follow
edited May 16 "đôi mươi at 17:56
answered Nov 24 "16 at 17:13
*

xgqfrmsxgqfrms
5,48611 gold badge3737 silver badges4141 bronze badges
3
Add a bình luận |
2
We can add for all devices with platsize specific size


Share
Follow
answered May 14 "18 at 13:10
Abhilash KKAbhilash KK
41844 silver badges1515 bronze badges
Add a phản hồi |
1
The bottom line is not all browsers will actually look for your favibé.ico file. Some browsers allow users to choose whether or not it should automatically look. Therefore, in order khổng lồ ensure that it will always appear & get looked at, you vì have to define it.


Share
Follow
answered Apr 18 "12 at 21:35
animuson♦animuson
50.7k2727 gold badges131131 silver badges142142 bronze badges
3
Add a comment |
1
Update Oct 2020:

So if you are on this page scratching your head
Chuyên mục: SEO

dịch vụ entity