{"id":2112,"date":"2021-07-08T13:22:19","date_gmt":"2021-07-08T13:22:19","guid":{"rendered":"https:\/\/ccbill.com\/kb\/?p=2112"},"modified":"2023-03-06T09:06:45","modified_gmt":"2023-03-06T09:06:45","slug":"favicon-html","status":"publish","type":"post","link":"https:\/\/ccbill.com\/kb\/favicon-html","title":{"rendered":"How to Add a Favicon to Your Website with HTML"},"content":{"rendered":"\n<p class=\"h3\">Introduction<\/p>\n\n\n\n<p>Users no longer read text on a website but skim through its content. As a result, businesses need to articulate their concepts and identity visually.<\/p>\n\n\n\n<p>Favicons allow users to identify websites at a glance. They create a consistent browsing experience and reinforce a sense of trust. A website or <a href=\"https:\/\/ccbill.com\/blog\/ecommerce-store\" target=\"_blank\" rel=\"noreferrer noopener\">ecommerce store<\/a> without a favicon may appear unprofessional and unreliable.<\/p>\n\n\n\n<p><strong>Find out how to add a favicon to your website using HTML.<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"400\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/add-favicon-website-html.png\" alt=\"Website owner considering how to improve her website with a favicon.\" class=\"wp-image-2121\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/add-favicon-website-html.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/add-favicon-website-html-300x150.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/add-favicon-website-html-768x384.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">What is a Favicon?<\/h2>\n\n\n\n<p>A favicon is a small square image that represents a website or web page. Browsers display favicons to help users access and navigate multiple sites more easily. Favicons appear in:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Browser tabs<\/li>\n\n\n\n<li>Bookmarks<\/li>\n\n\n\n<li>The Address Bar<\/li>\n\n\n\n<li>Search Results<\/li>\n\n\n\n<li>Browser <em>History<\/em> menu<\/li>\n\n\n\n<li>Toolbar Apps<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"800\" height=\"405\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/favicon-tab-history-browser.png\" alt=\"Usual locations of favicons in a browser.\" class=\"wp-image-2115\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/favicon-tab-history-browser.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/favicon-tab-history-browser-300x152.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/favicon-tab-history-browser-768x389.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>Favicons also serve as shortcut icons if a user pins web pages on the home screen of a mobile device.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Add a Favicon in HTML<\/h2>\n\n\n\n<p>To add a favicon using HTML:<\/p>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\">\n<li>Create an image (or several images).<\/li>\n\n\n\n<li>Upload the image to the website's root directory.<\/li>\n\n\n\n<li>Instruct the browser to use the image as a favicon.<\/li>\n\n\n\n<li>Verify that the favicon is displayed as intended.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Create a Favicon<\/h3>\n\n\n\n<p>Due to its small size, a favicon needs to be simple and direct. Do not add intricate details or embellishments. When designing a favicon, consider using:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The company logo or its stylized version.<\/li>\n\n\n\n<li>A symbol that represents the <a href=\"https:\/\/ccbill.com\/industries\" target=\"_blank\" rel=\"noreferrer noopener\">website's business model<\/a>.<\/li>\n\n\n\n<li>The first letter or letters of the brand name.<\/li>\n<\/ul>\n\n\n\n<p>The most common favicon formats include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>ICO<\/strong> - Supported by all browsers. Allows for multiple small images within the same file.<\/li>\n\n\n\n<li><strong>PNG<\/strong> - Superior image quality and resolution.<\/li>\n\n\n\n<li><strong>SVG<\/strong> - Lightweight and scalable but only supported by Firefox, Chrome, and Opera.<\/li>\n<\/ul>\n\n\n\n<p>A favicon needs to work on different browsers and maintain image quality on various devices. To get the best possible results, you need to create a favicon in several sizes. The following image sizes are essential for achieving cross-browser compatibility:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>16\u00d716 pixels<\/li>\n\n\n\n<li>32\u00d732 pixels<\/li>\n\n\n\n<li>180\u00d7180 pixels for Android and iOS devices<\/li>\n<\/ul>\n\n\n\n<p>Utilize a favicon generator to avoid creating images manually. These free tools automatically create favicons in the correct format and all applicable sizes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Upload Favicon<\/h3>\n\n\n\n<p>Use an FTP Client or cPanel to upload the favicon <strong>ICO<\/strong> or <strong>PNG<\/strong> files to the website's root directory.<\/p>\n\n\n\n<p>It is recommended but not mandatory to place favicon files in the root directory. If the images are in a different directory, you can use the HTML <strong><code>&lt;link&gt;<\/code><\/strong> tag to specify the image file location<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"417\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/upload-favicon-ico-png.png\" alt=\"Place the favicon files in the website's root directory.\" class=\"wp-image-2119\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/upload-favicon-ico-png.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/upload-favicon-ico-png-300x156.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/upload-favicon-ico-png-768x400.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>Most browsers, bots, and automated scripts still check the <strong><em>favicon.ico<\/em><\/strong> file in the website's root by default.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Add Link to HTML<\/h3>\n\n\n\n<p>To explicitly point browsers to the location of the favicon files, place <strong><code>&lt;link&gt;<\/code><\/strong> tags within the HTML <strong><code>&lt;head&gt;<\/code><\/strong> tag.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"232\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/link-tag-favicon-html.png\" alt=\"Favicon links in the HTML head tag.\" class=\"wp-image-2117\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/link-tag-favicon-html.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/link-tag-favicon-html-300x87.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/link-tag-favicon-html-768x223.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>The <strong><code>&lt;link&gt;<\/code><\/strong> tag and its attributes tell browsers and devices which image to use and where to find it. In this example the PNG images are in the root directory:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;link rel=&quot;icon&quot; type=&quot;image\/png&quot; sizes=&quot;32x32&quot; href=&quot;\/favicon-32x32.png&quot;&gt;\n&lt;link rel=&quot;icon&quot; type=&quot;image\/png&quot; sizes=&quot;16x16&quot; href=&quot;\/favicon-16x16.png&quot;&gt;\n&lt;link rel=&quot;apple-touch-icon&quot; sizes=&quot;180x180&quot; href=&quot;\/apple-touch-icon.png&quot;&gt;<\/code><\/pre>\n\n\n\n<p>Edit the attribute values to reflect the values on your system:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>rel<\/strong> - This attribute defines the link type. The most common value for favicons is <strong><code>icon<\/code><\/strong>. Some browsers and devices use non-standard values. Apple iOS, for example, uses the <strong><code>apple-touch-icon<\/code><\/strong> value.<\/li>\n\n\n\n<li><strong>type<\/strong> - Specifies the image type, for example, <strong><code>image\/png<\/code><\/strong> or <strong><code>image\/jpeg<\/code><\/strong>.<\/li>\n\n\n\n<li><strong>sizes<\/strong> - Defines the size or sizes of the icon.<\/li>\n\n\n\n<li><strong>href<\/strong> - Enter the absolute path to the image file.<\/li>\n<\/ul>\n\n\n\n<p>The HTML can contain multiple <strong><code>&lt;link&gt;<\/code><\/strong> tags. The <strong><code>type<\/code><\/strong> and <strong><code>sizes<\/code><\/strong> attributes allow browsers to select the appropriate icon.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Test on Multiple Browsers<\/h3>\n\n\n\n<p>Use a browser to access the website and verify that the favicon displays properly. Check the tab image, bookmark the page, access the browsing history, etc.<\/p>\n\n\n\n<p>Test the favicon in several browsers, change backgrounds, view modes, and devices to see if the quality or visibility of the favicon is affected.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Best Favicon Generators<\/h2>\n\n\n\n<p>Favicon generators help users design and create favicons. These web-based tools convert image templates into the correct format, provide multiple image sizes, and generate device-specific favicons.<\/p>\n\n\n\n<p>Some of <strong>the most popular and free favicon generators include<\/strong>:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. RealFaviconGenerator<\/h3>\n\n\n\n<p>The <a href=\"https:\/\/realfavicongenerator.net\/\" target=\"_blank\" rel=\"noreferrer noopener\">RealFaviconGenerator<\/a> allows users to upload an image and tweak the favicon for different browsers and devices.<\/p>\n\n\n\n<p>The on-screen previews provide valuable insights and tips on making your favicon as effective as possible on various platforms.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"494\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/real-favicon-generator-website-html.png\" alt=\"RealFaviconGenerator options when creating a favicon.\" class=\"wp-image-2118\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/real-favicon-generator-website-html.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/real-favicon-generator-website-html-300x185.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/real-favicon-generator-website-html-768x474.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>RealFaviconGenerator also has a Favicon Checker feature. By entering the website's URL, you receive a detailed analysis of the favicon's quality on various platforms. Use this feature to save time when troubleshooting or testing favicons.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Favicon.io<\/h3>\n\n\n\n<p>The <a href=\"https:\/\/favicon.io\/\" target=\"_blank\" rel=\"noreferrer noopener\">favicon.io<\/a> generator allows you to upload a PNG or generate a favicon from custom text. The system converts the templates into the proper format and provides all the necessary files and HTML links. <\/p>\n\n\n\n<p>The interface is user-friendly, with clear on-screen instructions. Most actions are completed by dragging and dropping files.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"530\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/favicon-io-generator-tool-1.png\" alt=\"Favicon.io favicon conversion options.\" class=\"wp-image-2127\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/favicon-io-generator-tool-1.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/favicon-io-generator-tool-1-300x199.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/favicon-io-generator-tool-1-768x509.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>Favicon.io also provides the option to create favicons from emojis.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. Genfavicon<\/h3>\n\n\n\n<p><a href=\"https:\/\/genfavicon.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Genfavicon<\/a> is a straightforward tool that allows you to cut and crop an image and see a preview on the page before downloading.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"800\" height=\"598\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/genfavicon-generate-favicon.png\" alt=\"Create a favicon with the Genfavicon interface.\" class=\"wp-image-2116\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/genfavicon-generate-favicon.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/genfavicon-generate-favicon-300x224.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/genfavicon-generate-favicon-768x574.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>The options regarding sizes and format are limited, but this tool is useful for quickly preparing and editing an image before conversion.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4. Faviconr<\/h3>\n\n\n\n<p>The <a href=\"https:\/\/faviconr.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Faviconr<\/a> generator is a lightweight solution that converts images into a <strong>favicon.ico<\/strong> file.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"507\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/faviconr-favicon-generator.png\" alt=\"Create a favicon file using Faviconr.\" class=\"wp-image-2114\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/faviconr-favicon-generator.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/faviconr-favicon-generator-300x190.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/faviconr-favicon-generator-768x487.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>Websites that do not need optimized images for every possible platform can use Faviconr and set up a basic favicon in a matter of minutes<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5. X-Icon Editor<\/h3>\n\n\n\n<p>The <a href=\"http:\/\/www.xiconeditor.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">X-Icon Editor<\/a> is ideal for users that want to create a high-resolution favicon from scratch.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"443\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/xicon-editor-favicon-generator.png\" alt=\"Creating a favicon with the XIcon Editor.\" class=\"wp-image-2120\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/xicon-editor-favicon-generator.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/xicon-editor-favicon-generator-300x166.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/xicon-editor-favicon-generator-768x425.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>This tool also enables users to upload images, crop them to predefined sizes, and preview the favicon before downloading the file.<\/p>\n\n\n\n<p class=\"h3\">Conclusion<\/p>\n\n\n\n<p>You have created and added a favicon to your website using HTML. The favicon is optimized for multiple browsers and platforms.<\/p>\n\n\n\n<p>If you have an ecommerce store, adding a favicon shows that your website values its users and actively works to improve their experience.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The tutorial explains how to add a favicon using the HTML link tag. It also presents 5 first-rate favicon generators.<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14],"tags":[],"class_list":["post-2112","post","type-post","status-publish","format-standard","hentry","category-web-development"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Add a Favicon to Your Website with HTML | CCBill KB<\/title>\n<meta name=\"description\" content=\"Find out how to create and add an optimized favicon to your website with HTML. HTML code examples with each tag and attributes explained.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ccbill.com\/kb\/favicon-html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add a Favicon to Your Website with HTML | CCBill KB\" \/>\n<meta property=\"og:description\" content=\"Find out how to create and add an optimized favicon to your website with HTML. HTML code examples with each tag and attributes explained.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ccbill.com\/kb\/favicon-html\" \/>\n<meta property=\"og:site_name\" content=\"CCBill Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ccbillBIZ\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-08T13:22:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-06T09:06:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/add-favicon-website-html.png\" \/>\n<meta name=\"author\" content=\"Vladimir Kaplarevic\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CCBillBIZ\" \/>\n<meta name=\"twitter:site\" content=\"@CCBillBIZ\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vladimir Kaplarevic\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/ccbill.com\/kb\/favicon-html#article\",\"isPartOf\":{\"@id\":\"https:\/\/ccbill.com\/kb\/favicon-html\"},\"author\":{\"name\":\"Vladimir Kaplarevic\",\"@id\":\"https:\/\/ccbill.com\/kb\/#\/schema\/person\/1f198b1218f6343a2682022ac4395644\"},\"headline\":\"How to Add a Favicon to Your Website with HTML\",\"datePublished\":\"2021-07-08T13:22:19+00:00\",\"dateModified\":\"2023-03-06T09:06:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/ccbill.com\/kb\/favicon-html\"},\"wordCount\":976,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/ccbill.com\/kb\/#organization\"},\"image\":{\"@id\":\"https:\/\/ccbill.com\/kb\/favicon-html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/add-favicon-website-html.png\",\"articleSection\":[\"Web Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/ccbill.com\/kb\/favicon-html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ccbill.com\/kb\/favicon-html\",\"url\":\"https:\/\/ccbill.com\/kb\/favicon-html\",\"name\":\"How to Add a Favicon to Your Website with HTML | CCBill KB\",\"isPartOf\":{\"@id\":\"https:\/\/ccbill.com\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ccbill.com\/kb\/favicon-html#primaryimage\"},\"image\":{\"@id\":\"https:\/\/ccbill.com\/kb\/favicon-html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/add-favicon-website-html.png\",\"datePublished\":\"2021-07-08T13:22:19+00:00\",\"dateModified\":\"2023-03-06T09:06:45+00:00\",\"description\":\"Find out how to create and add an optimized favicon to your website with HTML. HTML code examples with each tag and attributes explained.\",\"breadcrumb\":{\"@id\":\"https:\/\/ccbill.com\/kb\/favicon-html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ccbill.com\/kb\/favicon-html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ccbill.com\/kb\/favicon-html#primaryimage\",\"url\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/add-favicon-website-html.png\",\"contentUrl\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/add-favicon-website-html.png\",\"width\":800,\"height\":400,\"caption\":\"Website owner considering how to improve her website.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ccbill.com\/kb\/favicon-html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"KB Home\",\"item\":\"https:\/\/ccbill.com\/kb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Web Development\",\"item\":\"https:\/\/ccbill.com\/kb\/category\/web-development\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Add a Favicon to Your Website with HTML\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ccbill.com\/kb\/#website\",\"url\":\"https:\/\/ccbill.com\/kb\/\",\"name\":\"CCBill Knowledge Base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/ccbill.com\/kb\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ccbill.com\/kb\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/ccbill.com\/kb\/#organization\",\"name\":\"CCBill\",\"url\":\"https:\/\/ccbill.com\/kb\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ccbill.com\/kb\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2020\/10\/ccbill-logo.png\",\"contentUrl\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2020\/10\/ccbill-logo.png\",\"width\":160,\"height\":70,\"caption\":\"CCBill\"},\"image\":{\"@id\":\"https:\/\/ccbill.com\/kb\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/ccbillBIZ\/\",\"https:\/\/x.com\/CCBillBIZ\",\"https:\/\/www.linkedin.com\/company\/ccbill\",\"https:\/\/www.youtube.com\/c\/CCBillBiz\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ccbill.com\/kb\/#\/schema\/person\/1f198b1218f6343a2682022ac4395644\",\"name\":\"Vladimir Kaplarevic\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ccbill.com\/kb\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cc08885e8fec32585bae8a0f5a1aef92f8c8c4fc33692e74e0ec2e63633d2478?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cc08885e8fec32585bae8a0f5a1aef92f8c8c4fc33692e74e0ec2e63633d2478?s=96&d=mm&r=g\",\"caption\":\"Vladimir Kaplarevic\"},\"description\":\"Vladimir is a resident Tech Writer at CCBill. He has more than 8 years of experience in implementing e-commerce and online payment solutions with various global IT services providers. His engaging writing style provides practical advice and aims to spark curiosity for innovative technologies.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Add a Favicon to Your Website with HTML | CCBill KB","description":"Find out how to create and add an optimized favicon to your website with HTML. HTML code examples with each tag and attributes explained.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ccbill.com\/kb\/favicon-html","og_locale":"en_US","og_type":"article","og_title":"How to Add a Favicon to Your Website with HTML | CCBill KB","og_description":"Find out how to create and add an optimized favicon to your website with HTML. HTML code examples with each tag and attributes explained.","og_url":"https:\/\/ccbill.com\/kb\/favicon-html","og_site_name":"CCBill Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/ccbillBIZ\/","article_published_time":"2021-07-08T13:22:19+00:00","article_modified_time":"2023-03-06T09:06:45+00:00","og_image":[{"url":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/add-favicon-website-html.png","type":"","width":"","height":""}],"author":"Vladimir Kaplarevic","twitter_card":"summary_large_image","twitter_creator":"@CCBillBIZ","twitter_site":"@CCBillBIZ","twitter_misc":{"Written by":"Vladimir Kaplarevic","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ccbill.com\/kb\/favicon-html#article","isPartOf":{"@id":"https:\/\/ccbill.com\/kb\/favicon-html"},"author":{"name":"Vladimir Kaplarevic","@id":"https:\/\/ccbill.com\/kb\/#\/schema\/person\/1f198b1218f6343a2682022ac4395644"},"headline":"How to Add a Favicon to Your Website with HTML","datePublished":"2021-07-08T13:22:19+00:00","dateModified":"2023-03-06T09:06:45+00:00","mainEntityOfPage":{"@id":"https:\/\/ccbill.com\/kb\/favicon-html"},"wordCount":976,"commentCount":0,"publisher":{"@id":"https:\/\/ccbill.com\/kb\/#organization"},"image":{"@id":"https:\/\/ccbill.com\/kb\/favicon-html#primaryimage"},"thumbnailUrl":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/add-favicon-website-html.png","articleSection":["Web Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ccbill.com\/kb\/favicon-html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ccbill.com\/kb\/favicon-html","url":"https:\/\/ccbill.com\/kb\/favicon-html","name":"How to Add a Favicon to Your Website with HTML | CCBill KB","isPartOf":{"@id":"https:\/\/ccbill.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ccbill.com\/kb\/favicon-html#primaryimage"},"image":{"@id":"https:\/\/ccbill.com\/kb\/favicon-html#primaryimage"},"thumbnailUrl":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/add-favicon-website-html.png","datePublished":"2021-07-08T13:22:19+00:00","dateModified":"2023-03-06T09:06:45+00:00","description":"Find out how to create and add an optimized favicon to your website with HTML. HTML code examples with each tag and attributes explained.","breadcrumb":{"@id":"https:\/\/ccbill.com\/kb\/favicon-html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ccbill.com\/kb\/favicon-html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ccbill.com\/kb\/favicon-html#primaryimage","url":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/add-favicon-website-html.png","contentUrl":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/07\/add-favicon-website-html.png","width":800,"height":400,"caption":"Website owner considering how to improve her website."},{"@type":"BreadcrumbList","@id":"https:\/\/ccbill.com\/kb\/favicon-html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"KB Home","item":"https:\/\/ccbill.com\/kb\/"},{"@type":"ListItem","position":2,"name":"Web Development","item":"https:\/\/ccbill.com\/kb\/category\/web-development"},{"@type":"ListItem","position":3,"name":"How to Add a Favicon to Your Website with HTML"}]},{"@type":"WebSite","@id":"https:\/\/ccbill.com\/kb\/#website","url":"https:\/\/ccbill.com\/kb\/","name":"CCBill Knowledge Base","description":"","publisher":{"@id":"https:\/\/ccbill.com\/kb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ccbill.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ccbill.com\/kb\/#organization","name":"CCBill","url":"https:\/\/ccbill.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ccbill.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2020\/10\/ccbill-logo.png","contentUrl":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2020\/10\/ccbill-logo.png","width":160,"height":70,"caption":"CCBill"},"image":{"@id":"https:\/\/ccbill.com\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ccbillBIZ\/","https:\/\/x.com\/CCBillBIZ","https:\/\/www.linkedin.com\/company\/ccbill","https:\/\/www.youtube.com\/c\/CCBillBiz"]},{"@type":"Person","@id":"https:\/\/ccbill.com\/kb\/#\/schema\/person\/1f198b1218f6343a2682022ac4395644","name":"Vladimir Kaplarevic","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ccbill.com\/kb\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cc08885e8fec32585bae8a0f5a1aef92f8c8c4fc33692e74e0ec2e63633d2478?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cc08885e8fec32585bae8a0f5a1aef92f8c8c4fc33692e74e0ec2e63633d2478?s=96&d=mm&r=g","caption":"Vladimir Kaplarevic"},"description":"Vladimir is a resident Tech Writer at CCBill. He has more than 8 years of experience in implementing e-commerce and online payment solutions with various global IT services providers. His engaging writing style provides practical advice and aims to spark curiosity for innovative technologies."}]}},"_links":{"self":[{"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/posts\/2112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/comments?post=2112"}],"version-history":[{"count":17,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/posts\/2112\/revisions"}],"predecessor-version":[{"id":4768,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/posts\/2112\/revisions\/4768"}],"wp:attachment":[{"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/media?parent=2112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/categories?post=2112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/tags?post=2112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}