# Others

# Common Favicon Sizes and Usage

<div data-processed="true" data-subtree="aimfl,mfl" id="bkmrk-" jscontroller="v48bt" jsuid="Umcuqc_9" style="display: contents;">  
</div>`sizes` attribute in the HTML `<link rel="icon">` tag is used to specify the dimensions of the linked favicon image. This helps browsers and devices select the most appropriate icon file for a given context, ensuring optimal display quality across various resolutions and use cases (e.g., browser tabs, desktop shortcuts, mobile home screens)

Different platforms and browsers require different favicon sizes for optimal display. The most common size is 16x16 pixels for standard browser tabs, but modern high-resolution screens and mobile devices require much larger sizes.<span class="uJ19be notranslate" data-processed="true" data-wiz-uids="Umcuqc_o,Umcuqc_p,Umcuqc_q"><span class="vKEkVd" data-animation-atomic="" data-processed="true" data-wiz-attrbind="class=Umcuqc_o/TKHnVd;"> </span></span>

<div class="Y3BBE" data-hveid="CAMQAA" data-processed="true" data-sfc-cp="" id="bkmrk--1" jsaction="rcuQ6b:&Umcuqc_n|npT2md" jscontroller="zcfIf" jsuid="Umcuqc_n">  
</div><div class="Fsg96" data-processed="true" data-sfc-cp="" id="bkmrk--2" jsaction="rcuQ6b:&Umcuqc_t|npT2md" jscontroller="KHhJQ" jsuid="Umcuqc_t">  
</div><div class="Fv6NCb" data-processed="true" data-sfc-cp="" data-ved="2ahUKEwjVx6GS5rqRAxWvX2wGHXCmEvYQ-q4QegQIBRAA" data-wiz-uids="Umcuqc_1h" id="bkmrk-size-%28pixels%29%C2%A0" jsaction="rcuQ6b:&Umcuqc_1h|npT2md" jscontroller="kbUand" jsuid="Umcuqc_1h"><table class="NRefec" data-animation-nesting="" data-processed="true"><tbody data-processed="true"><tr class="cZCYO" data-processed="true" data-sfc-cp=""><th class="iry6k" colspan="undefined" data-processed="true" data-sfc-cp="">Size (Pixels)<span class="uJ19be notranslate" data-processed="true" data-wiz-uids="Umcuqc_1k,Umcuqc_1l,Umcuqc_1m"><span class="vKEkVd" data-animation-atomic="" data-processed="true" data-wiz-attrbind="class=Umcuqc_1k/TKHnVd;"> </span></span></th></tr></tbody></table>

</div><div class="Fv6NCb" data-processed="true" data-sfc-cp="" data-ved="2ahUKEwjVx6GS5rqRAxWvX2wGHXCmEvYQ-q4QegQIBRAA" data-wiz-uids="Umcuqc_1h" id="bkmrk-%C2%A0-usage-context-16x1" jsaction="rcuQ6b:&Umcuqc_1h|npT2md" jscontroller="kbUand" jsuid="Umcuqc_1h"><table class="NRefec" data-animation-nesting="" data-processed="true"><tbody data-processed="true"><tr class="cZCYO" data-processed="true" data-sfc-cp=""><th class="iry6k" colspan="undefined" data-processed="true" data-sfc-cp=""> </th><th class="iry6k" colspan="undefined" data-processed="true" data-sfc-cp="">Usage Context</th></tr><tr class="cZCYO" data-processed="true" data-sfc-cp=""><td class="cOeeGf" colspan="undefined" data-processed="true" data-sfc-cp="">**16x16**</td><td class="cOeeGf" colspan="undefined" data-processed="true" data-sfc-cp="">Standard browser tabs, address bar, and bookmarks menu (the default size).</td></tr><tr class="cZCYO" data-processed="true" data-sfc-cp=""><td class="cOeeGf" colspan="undefined" data-processed="true" data-sfc-cp="">**32x32**</td><td class="cOeeGf" colspan="undefined" data-processed="true" data-sfc-cp="">High-resolution screens, desktop shortcuts, Windows taskbar buttons.</td></tr><tr class="cZCYO" data-processed="true" data-sfc-cp=""><td class="cOeeGf" colspan="undefined" data-processed="true" data-sfc-cp="">**96x96**</td><td class="cOeeGf" colspan="undefined" data-processed="true" data-sfc-cp="">Google TV and desktop shortcuts for high-resolution displays.</td></tr><tr class="cZCYO" data-processed="true" data-sfc-cp=""><td class="cOeeGf" colspan="undefined" data-processed="true" data-sfc-cp="">**180x180**</td><td class="cOeeGf" colspan="undefined" data-processed="true" data-sfc-cp="">**Apple Touch Icon** (iOS home screens for iPhone and iPad).</td></tr><tr class="cZCYO" data-processed="true" data-sfc-cp=""><td class="cOeeGf" colspan="undefined" data-processed="true" data-sfc-cp="">**192x192**</td><td class="cOeeGf" colspan="undefined" data-processed="true" data-sfc-cp="">**Android Chrome** home screen icon and Progressive Web Apps (PWAs).</td></tr><tr class="cZCYO" data-processed="true" data-sfc-cp=""><td class="cOeeGf" colspan="undefined" data-processed="true" data-sfc-cp="">**512x512**</td><td class="cOeeGf" colspan="undefined" data-processed="true" data-sfc-cp="">PWA splash screens and higher-resolution icon needs.</td></tr></tbody></table>

</div><div class="Fsg96" data-processed="true" data-sfc-cp="" id="bkmrk--3" jsaction="rcuQ6b:&Umcuqc_2o|npT2md" jscontroller="KHhJQ" jsuid="Umcuqc_2o">  
</div><div aria-level="3" class="otQkpb" data-animation-nesting="" data-processed="true" data-sfc-cp="" id="bkmrk-html-implementation-" jscontroller="a7qCn" jsuid="Umcuqc_2p" role="heading">**HTML Implementation Example**</div><div aria-level="3" class="otQkpb" data-animation-nesting="" data-processed="true" data-sfc-cp="" id="bkmrk--4" jscontroller="a7qCn" jsuid="Umcuqc_2p" role="heading">  
</div><div class="Y3BBE" data-hveid="CAcQAA" data-processed="true" data-sfc-cp="" id="bkmrk-to-ensure-compatibil" jsaction="rcuQ6b:&Umcuqc_2t|npT2md" jscontroller="zcfIf" jsuid="Umcuqc_2t">To ensure compatibility across all devices and browsers, it is recommended to provide multiple sizes in the `<head>` section of your HTML document.<span class="uJ19be notranslate" data-processed="true" data-wiz-uids="Umcuqc_2v,Umcuqc_2w,Umcuqc_2x"><span class="vKEkVd" data-animation-atomic="" data-processed="true" data-wiz-attrbind="class=Umcuqc_2v/TKHnVd;"> </span></span></div><div class="Y3BBE" data-hveid="CAcQAA" data-processed="true" data-sfc-cp="" id="bkmrk--5" jsaction="rcuQ6b:&Umcuqc_2t|npT2md" jscontroller="zcfIf" jsuid="Umcuqc_2t">  
</div><div class="Fsg96" data-processed="true" data-sfc-cp="" id="bkmrk--6" jsaction="rcuQ6b:&Umcuqc_2z|npT2md" jscontroller="KHhJQ" jsuid="Umcuqc_2z">  
</div><div class="r1PmQe" data-hveid="CAkQAA" data-processed="true" data-wiz-uids="Umcuqc_5z,Umcuqc_60,Umcuqc_61" id="bkmrk-html" jscontroller="HP6Sjf" jsuid="Umcuqc_5y"><div data-processed="true"><div class="pHpOfb" data-animation-atomic="" data-processed="true"><div class="vVRw1d" data-processed="true">html</div></div></div></div>```
<head>
    <!-- Standard favicon (most compatible, often .ico can contain multiple sizes) -->
    <link rel="icon" type="image/x-icon" href="/favicon.ico">
    
    <!-- Modern browsers, various sizes -->
    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
    
    <!-- Apple Touch Icon (iOS devices) -->
    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
    
    <!-- Android Chrome / PWA icons -->
    <link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png">
    <link rel="icon" type="image/png" sizes="512x512" href="/android-chrome-512x512.png">
</head>

```

<div class="Y3BBE" data-hveid="CAoQAA" data-processed="true" data-sfc-cp="" id="bkmrk-most-developers-use-" jsaction="rcuQ6b:&Umcuqc_64|npT2md" jscontroller="zcfIf" jsuid="Umcuqc_64">Most developers use a <span data-processed="true" data-sfc-cp="">[favicon generator tool](https://realfavicongenerator.net/)</span> to create all the necessary image files and the corresponding HTML code automatically</div>