+ 3
Favicon in html
How to get an image rather than text for the title attribute used with the paragraph tags?
3 odpowiedzi
+ 12
<link href=favicon.ico rel=icon />
<!-- Note that your favicon must fullfill some requirements for some types of browsers... size, name etc... -->
+ 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! :)
+ 1
Thanks :)