Suppose I have a link <a href="#" title="Hello, World!">
. I want to style parts of the title
tooltip attribute. For example, I want to have the Hello
part be bold. I'm not trying to style both Hello
and World
, just the Hello
part.
I have tried putting HTML tags inside of the attribute, but they appear to have no effect (if I enter <a href="#" title="<b>Hello,</b> World!">
, the title text prints out <b>Hello,</b> World!
, which is not what I want. I have made a JSFiddle demo of what happens.
Is it possible to do this using pure CSS?
Also, I have seen this, but it's not what I wanted. It's close, however.