On Wikipedia, HTML<span>...</span> elements are used to group logically related text. They allow:
{{Lang}} templates, not with manual span markup)<s> and the now-deprecated<strike>, which would otherwise be used as workarounds, but are less suitable.{{Anchor}} template.Almost allHTML tags that are allowed in Wikipedia permit inlineCSS styles.
Span tags were enabled inMediaWiki on December 23, 2004. Polls were held in May and August 2004 on whether the English Wikipedia should enable them. Theresults were equally split between supporting and opposing the addition of these tags. In December, the earlier objections that this would be a semantically void element were deemed to be no longer applicable since MediaWiki now has a way to add to the global stylesheets in the wiki (at least for the main skins). The addition of<span> to thewhitelist wasannounced, following no general objection amongstdevelopers.