css - How to replace taskbar stock icon browser with my own icon -
i'm going create simple test of html files. want insert own icon @ taskbar windows.
i has insert on event new tab code :
<link rel="icon" href="favicon.ico"> can tell me what's code? i'll apreciated if can give example too.. thank's advance..
if understand question correctly...
windows taskbar icons not same html icons displayed on browser tabs.
if want assign specific icon file or filetype, need following.
- generate
.icofile image used icon in windows. - right-click on file, click
properties. - under
shortcuttab, near bottom of window, you'll see button sayschange icon. click this. - navigate
.icoicon file , click open - profit.
if mean how can assign icon browser tab....
- generate
.icofile image used icon browser tab - insert following code in
<head>section of html:
<link rel="icon" href="<relative filepath icon>"></link> - save file, test, profit.
it important filepath correct! in below example, if icon located in images folder, while index.htmlwas located in root, filepath in index.html file
<link rel=icon" href="images/myicon.ico"></link> 
Comments
Post a Comment