Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I am not able to see the icon beside the title of the webpage...Why is that?
Here is the line of code where I have put it and both the icon and the HTML file are in the same directory -
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
Check this and have a look at the code below.
<link rel="icon" href="./favicon.ext">
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 9 hours ago.
Improve this question
I'm trying to add a favicon but it's not working. I believe my file location is correct. Is it not working bc I'm using Bootstrap?
<link rel="icon" type="image/x-icon" href="abfav.png">
I believe this should add a favicon to my page.File Locationcode
Your link line has to be placed inside the head tag
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 months ago.
Improve this question
şimdiden teşekür ederim.
how do i add a picture here?
How can I install a thumbnail there?
is there a shortcode.
It's called a favicon.
You need to generate a .ico-File and put them into your project directory. Here is a simple generator: https://www.icoconverter.com
Then you can add the following code into your <head> element, next to your <title>
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
Make sure you name the generated file favicon.ico.
This way most browsers will support it!
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed last year.
Improve this question
I am new to using vscode. I am trying to practice HTML and CSS. I was able to run my HTML but when I try to debug and run my CSS its not working. it says file can't be reached. Thanks
You have to link your css file like this:
<head>
<link rel="stylesheet" href="styles.css">
</head>
{You should post your code}
Remember to add this line in HTML
<style href='Your CSS file name'></style>
Or you can also use:
<link href='Your CSS file name'></link>
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I created a some HTML but the code keeps changing and I don't know why.
<link id="favicon" rel="shortcut icon" type="image/png" href="http://i.imgur.com/at2rsbu.png?1"/>
Here is a screenshot of what I meant. It might be easier to understand.
I really don't know what I am doing wrong. If there is already something like this on Stack Overflow please provide the link as I couldn't find it.
Try type='image/x-icon' instead of type='image/png' and try giving the image a path instead of a URL.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 7 years ago.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Improve this question
I can not find a solution to my issue with the favicon. I have searched everywhere. I have a test site and the header is driven by php and inserts the same html header code on all the pages. I can confirm this just by looking at the source code of the pages in question. I have tried about all I know what to do
Here is my code in the html header. http://new.franmar.com/confirmation/980
<link rel='icon' href='/favicon.png' type='image/png'>
<link rel='shortcut icon' href='/favicon.png' type='image/png'>
<link rel="icon" type="image/ico" href="/favicon.ico" />
When I go to the home page (http://new.franmar.com/) I get the icon to show. And its the same code.
And ideas?
Thanks!
http://new.franmar.com/favicon.ico
You have a 404 error there. Where is this file located?