Search code examples
htmlcssiconstitlebar

HTML- Adding or controling Icons in Title Bar


<head>
    <link rel="icon" href="c.ico"/>
    <title>A title</title>
</head>

This will add an icon to the left of the title up in the title bar. Can I add another? Or change the positon of the icon to display to the right of the text?

<head>
    <title>A title</title>
    <link rel="icon" href="c.ico"/>
    <link rel="icon" href="c.ico"/>
</head>

The above changes nothing, and I haven't found any answer for this, probably because nobody does this and this may be useless. But I was still wondering.

Using CSS with this (like float:right or border-radius) didn't work at all and I couldn't find any thing useful in the reference for link.


Solution

  • The favicon is not actually part of the web page, it is just an image that the browser use to display your page title more friendly. How the image is displayed is up to the browser.