Add hover text without javascript like we hover on a user's reputation

前端 未结 4 696
小蘑菇
小蘑菇 2020-12-22 21:35

In stackoverflow, when we hover on a user\'s reputation we see a text. I have seen this at many places and the source code tells me that it can be done without js. And i tri

4条回答
  •  清歌不尽
    2020-12-22 22:38

    Often i reach for the abbreviation html tag in this situation.

    Text

    https://www.w3schools.com/tags/tag_abbr.asp

提交回复
热议问题