0
How can I add picture / icon to HTML title?
I'll write a little description for you.
3 Respostas
+ 1
First of all, you have to make an icon (or picture) to title.
For this I recommend Gimp. Here it is a very good tutorial with some useful tips:
https://www.gimp.org/tutorials/Creating_Icons/
When you finished your project, save it, and after that you could export your file ".png" or ".ico". (It was the biggest part. :o) )
After that you could put this icon to the title, like this:
<!DOCTYPE html>
<head>
<title>Title</title>
<link rel="icon" href="file:///C:/Users/XXXX/XXXX/XXXX/title.png"/>
</head>
<body>
</body>
</html>
Your icon could be png or ico. The href has to point the exact location of the icon file. (I work with " rel="icon" and it's good :o) )
I tired and it's work in firefox :o)
Happy coding!