Change Icon in the Address Bar

Lakhangarg
Posted by Lakhangarg under JavaScript category on | Views : 2176
(1) Create fevicon.ico file.
(2) Add these lines in the head tag of the page. if you have master page then add these lines in master page.
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" / >
< link rel="icon" type="image/x-icon" href="/favicon.ico" />

(3) we are adding second line: < link rel="icon" type="image/x-icon" href="/favicon.ico" / >
because for some browsers with the first line only it does not display your customize icon.

Thanks & Regards
Lakhan Pal Garg

Comments or Responses

Login to post response