Favicons in website

Adding Favicons to the Website


Favicons are one of the common web page elements used in web page development. Using it in web sites are easy and common. The following article gives the insights about the element. It might help the beginners who are into web site designing.


A favicon is a graphic image which is an identity for a website. Favicons can be used for a web pag
or the websites. Favicon can be simply called as shortcut icon or bookmark icon. It is installed in the website by several means. Favicon are usually displayed in title bar of the website, address bar, drag to desktop, history and bookmarks. When your site has been added to favorites or home screen, favicons are displayed as representation.





The image may be a square of size 16 X 16 pixels. Also, such icon files can be 32×32, 48×48, or 64×64 pixels in size.

favicons in websites

The file format for the favicon image may be .png, .gif, .ico. The following code can be added to the header of the page or all the pages of the website

iOS ‘s Safari will search for icons which carry the prefix

a) apple-touch-icon
b) apple-touch-icon-precomposed
The appropriate sixe for iOs device is 57X57 pixels, so our directory should list icons of order
a) apple-touch-icon-57x57-precomposed.png
b) apple-touch-icon-57x57.png
c) apple-touch-icon-precomposed.png
d) apple-touch-icon.png

Bootstrap 4 menu using flex

If links for both PNG and ICO favicons are present, PNG-favicon-compatible browsers select which format and size to use as follows.


a) Firefox and Safari will use the favicon that comes last.
b) Chrome for Mac will use whichever favicon is ICO formatted, otherwise the 32×32 favicon.
c) Chrome for Mac will ignore the 16×16 favicon and use the 32×32 version if only to scale it back down to 16×16 on non-retina devices
d) Chrome for Windows will use the favicon that comes first if it is 16×16, otherwise the ICO.
e) If none of the aforementioned options are available, both Chromes will use whichever favicon comes first, exactly the opposite of Firefox and Safari.
f) Opera will choose from any of the available icons completely at random.
Follow our FB page @CreativeTechnocrayts
Subscribe to Creative Technocrayts and be a part of growing community.<

Comments

Popular posts from this blog

What are some mistakes people make when they start learning HTML, CSS and JavaScript?

How to initialize Datatable plugin?

Datatables.net - Plugin options