Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道,可以在 html 控件的工具提示中显示上标字符。
$(tblth).attr("title","name <sup>a</sup>");
由于它不是 HTML(它是本机渲染的并且取决于操作系统),所以您不能这样做。
通常的解决方案是制作自己的工具提示(或使用众多库之一)。好消息是这很容易。