复制代码代码如下:
<a href=# title="这里是显示的文字">hello</a>
 
当鼠标悬停在 hello上一回就会有文字 这里是显示的文字 显示。

html用title属性实现鼠标悬停显示文字