/    Sign up×
Community /Pin to ProfileBookmark

favicon css and html

Below is my html code on my computer
<!DOCTYPE html>
<html lang=”en”>

<head>
<meta charset=”utf-8″>
<meta name=”viewport” content=”width=device-width, initial-scale=1″>
<title>Imale plast Limited</title>
<link rel=”icon” type=”image/png” sizes=”16×16″ href=”C:/Users/IT_PC/Desktop/ic/img/favicon-16×16.png”>
<meta name=”description” content=”Imale Plast Company Limited”>
however after uploading my website files in the control panel,,, the favicon doesnt appear.
I am sure it is because of the location url: C:/Users/IT_PC/Desktop/ic/img/favicon-16×16.png which changes since i have now uploaded files. Friends please assist

to post a comment
CSSHTMLJavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@VITSUSAJun 27.2019 — Click on mentioned hyperlink to know about why favicon doesn’t appear -

https://www.youtube.com/watch?v=s86hIpXh4Rc

Another thing could be the problem that chrome can't display favicons, if it's local (not uploaded to a webserver). Only if the file/icon would be in the downloads directory chrome is allowed to load this data - more information about this can be found here: local (file://) website favicon works in Firefox, not in Chrome or Safari- why?

Try to rename it from favicon.{whatever} to {yourfaviconname}.{whatever} but I would suggest you to still have the normal favicon. This has solved my issue on IE.

**Normal favicon:**

<link rel="icon" href="favicon.ico" type="image/x-icon" />

<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />

**PNG/GIF favicon:**

<link rel="icon" type="image/gif" href="favicon.gif" />

<link rel="icon" type="image/png" href="favicon.png" />
×

Success!

Help @psimiyu spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 3.29,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,

tipper: Anonymous,
tipped: article
amount: 10 SATS,
)...