How to Set Favicon on HTML Page?

Go down

Solved How to Set Favicon on HTML Page?

Post by Hardcore Gamer on October 11th 2012, 1:34 pm

I notice that my HTML page is missing a favicon, well, it's set as a default one. I want to use my own. Is there a code for this?


Last edited by Hardcore Gamer on October 11th 2012, 4:37 pm; edited 1 time in total

Hardcore Gamer
Forumember

Male Posts : 522
Reputation : 4
Language : English

Back to top Go down

Solved Re: How to Set Favicon on HTML Page?

Post by runawayhorses on October 11th 2012, 3:59 pm

Yes,

Add the URL of your favicon ICO image in this code where it says to, and put the code in your HTML page.

Code:
<link rel="shortcut icon"href="URL OF ICO IMAGE GOES HERE">

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 165
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: How to Set Favicon on HTML Page?

Post by Hardcore Gamer on October 11th 2012, 4:16 pm

Thank you! It worked!

I also have one more question about my HTML page, no point in making another thread.

How do I change the background colour from white to another colour, like black?

Appreciate the help.

EDIT: When I publish the HTML page, the favicon code disappears. Why is this? I only have one code on the HTML and it's a link to an image. Confused

Hardcore Gamer
Forumember

Male Posts : 522
Reputation : 4
Language : English

Back to top Go down

Solved Re: How to Set Favicon on HTML Page?

Post by runawayhorses on October 11th 2012, 4:20 pm

Like this:

Code:
<body bgcolor="#000000">

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 165
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: How to Set Favicon on HTML Page?

Post by Hardcore Gamer on October 11th 2012, 4:33 pm

Just fixed the favicon, that colour code also works perfectly! Thank you!

Solved.

Hardcore Gamer
Forumember

Male Posts : 522
Reputation : 4
Language : English

Back to top Go down

Solved Re: How to Set Favicon on HTML Page?

Post by Sanket on October 11th 2012, 4:41 pm

Topic Solved & Locked
avatar
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2828
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum