热门问题
时间线
聊天
视角
模板:Span title
維基媒體模板 来自维基百科,自由的百科全书
Remove ads
{{{2}}}
This template creates an HTML span
element with a title
attribute, which is rendered by many user-agents as producing a tooltip when hovered over with a cursor.
- {{span title|This is the title|This is the text}}
產生的代碼:
- <span title="This is the title">This is the text</span>
並呈現為:
- This is the text
使用模板比在頁面中使用原始HTML稍微整潔。
參考
- {{SetTitle}}
Remove ads
Wikiwand - on
Seamless Wikipedia browsing. On steroids.
Remove ads