HTML element: <span>
The <span> element is an inline element that delimits an arbitrary portion of content to which to apply style, display, or event management.
Common attributes
The <span> element supports the class, dir, id, lang, style, and title attributes.
For more information, see Common attributes.
Event attributes
The <span> element supports the onclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, and onmouseup events.
For more information, see HTML event attributes.
Parent topic: HTML elements