如何在<a href=""

时间:2017-05-29 14:17:14

标签: html html5 href title

="" 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?

1 个答案:

答案 0 :(得分:1)

您无法自定义标题属性,但可以添加一些工具提示作为上述建议。

一些很酷的工具提示:https://tympanus.net/Development/TooltipStylesInspiration/