span element
xxxxxxxxxx
The <span> element is an inline container, which can mark up part of a text.
It is easily styled with css and manipulated with JavaScript with the class or id attribute.
It presents similarities with the <div> element, but is an inline istead of a block-level element.
Example:
<p>The sky is <span style="color:blue">blue</span> with <span style="color:white">white</span> clouds</p>
xxxxxxxxxx
<p>This a <span class="crimson-text">crimson text</span> within others.</p>
xxxxxxxxxx
The <span> tag is an inline container used to mark up a part of a text,
or a part of a document. The <span> tag is easily styled by CSS or manipulated
with JavaScript using the class or id attribute. The <span> tag is much like
the <div> element, but <div> is a block-level element and <span> is an inline
element. :)