Tooltip with HTML content without JavaScript

前端 未结 8 904
借酒劲吻你
借酒劲吻你 2020-11-30 00:24

There are plenty of JavaScript-based libraries that show tooltips when you hover your mouse over a certain area of a web page. Some are rather plain, some allow the tooltip

8条回答
  •  我在风中等你
    2020-11-30 00:53

    You can use the title attribute, e.g. if you want to have a Tooltip over a text, just make:

    This is a text

提交回复
热议问题