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?
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.
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.
HTML <title> Tag.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With