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.

  1. generate .ico file image used icon in windows.
  2. right-click on file, click properties.
  3. under shortcut tab, near bottom of window, you'll see button says change icon. click this.
  4. navigate .ico icon file , click open
  5. profit.

if mean how can assign icon browser tab....

  1. generate .ico file image used icon browser tab
  2. insert following code in <head> section of html:
    <link rel="icon" href="<relative filepath icon>"></link>
  3. 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> 

filepath thing


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -