Home > Code > HTML > Adding a favicon to website

Adding a favicon to website

by Shiva murugan   on May 04, 2011   Category: HTML   |  Views: 1011    |  Points: 25   |  Bronze 



A favicon is a website icon, shortcut icon and it is a small icons or gif file. below is the sample code to create favicon to the specific website.

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Favicon Test</title>
<link REL="SHORTCUT ICON" HREF="images/favi.ico"/>
</head>
<body>
<div></div>
</body>
</html>


-Shiva.




Post Code  |  Code Snippet Home

User Responses


No response found, be the first to review this code snippet.

Submit feedback about this code snippet

Please sign in to post feedback

Latest Posts