+ 3

Favicon in html

How to get an image rather than text for the title attribute used with the paragraph tags?

19th Jun 2018, 8:28 PM
Oshin Bajaj
Oshin Bajaj - avatar
3 Réponses
+ 12
<link href=favicon.ico rel=icon /> <!-- Note that your favicon must fullfill some requirements for some types of browsers... size, name etc... -->
19th Jun 2018, 8:37 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 1
Hi Oshin Bajaj , Maybe I'm way off track from what you're asking about, but the title attribute often shows up as a tooltip on mouseover (a.k.a. hover) of the element (e.g. paragraphs, etc.). (Reference: https://www.w3schools.com/tags/att_global_title.asp) As far as I know, this only accepts text (i.e. a string) as a value, but there's probably a different way of accomplishing the same visual effect. You should give it a go in the Code Playground and link your code to this question if you're still running into issues. I hope this helps! :)
20th Jun 2018, 10:28 AM
Janning⭐
Janning⭐ - avatar
+ 1
Thanks :)
20th Jun 2018, 5:11 PM
Oshin Bajaj
Oshin Bajaj - avatar