You are here : htmlHTML 5span

<span> - HTML 5

The <span> tag is used to group inline-elements in a document.

The <span> tag provides no visual change by itself.

The <span> tag provides a way to add a hook to a part of a text or a part of a document.


Syntax

    <p>My mother has <span style="color:blue">blue</span>      eyes.</p>


Example

    <p>My mother has <span style="color:blue">blue</span>      eyes.</p>


Output / Return Value


Limitations


Alternatives / See Also


Reference