HTML – <span> Tag
The <span> tag is used to group inline-elements in a document and content.
It used to group elements for styling purposes (by using the class or id attributes), A better way to use it when no other any other semantic element is available.
Span is very similar to the div tag, but div is a block-level Element tag and span is an inline tag.
The <span> tag provides a way to add a hook to a part of a text or a part of a document.
The <span> tag also supports the Global Attributes in HTML.
The <span> tag also supports the Event Attributes in HTML.