Home > Net >  Changing the a HTML file Icon
Changing the a HTML file Icon

Time:11-05

enter image description here

I wrote a program with HTML and Javascript and I want to change the index file Icon from my default browser as shown in the image attached to a custom jpeg, I was wondering if that is possible?

CodePudding user response:

Windows shows your default file opener as the icon (in this case, Chrome is the default file opener for .html files). Since this isn't a packaged application (e.g. .exe), you can't specify an icon for it.

You could create a shortcut for it and change the icon by right clicking on it, selecting properties and 'change icon', but that would only reflect the new icon on the shortcut, not the original file.

  • Related