Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML Title Image

Tags:

html

favicon

I want to have an image on the title in an HTML page (i.e on the tab along with the title). How can I do that?

like image 955
James Avatar asked Jun 23 '10 16:06

James


People also ask

How do you add a title to an image in HTML?

The <figcaption> tag defines a caption for a <figure> element. The <figcaption> element can be placed as the first or last child of the <figure> element.

What is title bar image?

The title bar is a horizontal bar located at the top of a window in a GUI. It displays the title of the software, name of the current document or file, or other text identifying the contents of that window.

How do you add a title bar in HTML?

HTML <title> Tag.


1 Answers

What you need is a favicon.ico file. Just put it in the root of your site and link to it in the header of your page

<head>     <title>My Site</title>     <link rel="shortcut icon" href="favicon.ico" /> </head> 

You should put it in the root of your site and name it favicon.ico because some browsers look for it even if you don't link to it on your pages.

like image 154
Ed B Avatar answered Sep 25 '22 17:09

Ed B