user8013429
user8013429

Reputation:

How to display some text bold from title attribute in <a href

I want to display some text of title in bold in tag
I tried the below code but it didn't work for me.

<a href="http://google.com" title="This is <b>Bold Title</b>">Link</a>

Is there any way to display some text of title in bold?

Upvotes: 2

Views: 14450

Answers (1)

R&#233;my Testa
R&#233;my Testa

Reputation: 897

You can't customize title attribute but you can add some tooltip as advice above.

Some cool tooltip : https://tympanus.net/Development/TooltipStylesInspiration/

Upvotes: 2

Related Questions