Template:Span title
Jump to navigation
Jump to search
{{{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}}
produces the code:
- <span title="This is the title">This is the text</span>
Which renders as:
- This is the text
Using the template is slightly neater than using raw HTML in a page.
The above documentation is transcluded from Template:Span title/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |