In HTML Bild neben den Websitetitel einfügen, mit welchem Tag geht das?

...komplette Frage anzeigen

4 Antworten

Meinst du den Icon im Browser-Tab?

This is the Snippet that I use whenever I need to configure a favicon:

<!-- for FF, Chrome, Opera -->
<link rel="icon" type="image/png" href="/assets/favicons/favicon-16x16.png" sizes="16x16">
<link rel="icon" type="image/png" href="/assets/favicons/favicon-32x32.png" sizes="32x32">

<!-- for IE -->
<link rel="icon" type="image/x-icon" href="/assets/favicons/favicon.ico" >
<link rel="shortcut icon" type="image/x-icon" href="/assets/favicons/favicon.ico"/>

This should work just fine.

You need to use .png in FF, Chrome and Opera and support them with 2 resolutions, for different devices and screen resolutions.

IE needs the .ico Image and needs the rel to be "icon" and "shortcus icon", don't ask me why, IE is always a bit of a wierdo as we all know :D

Quelle: http://stackoverflow.com/questions/26445755/html-add-icon-to-browser-tab

Was möchtest Du wissen?