HTML <span>
query_builder | Christopher PisaniThe HTML element <span> is simply used to to surround selected text and change the style with using CSS or in-line code.
A simple <span> example
<style>
#example {
color: green;
font-weight: 600;
}
</style>
Using this element you can use CSS <span id="example">to change the style</span> of the surrounded text.
<br>
The style can be used in-line <span style="color:orange">for a simple change</span>.
Available Attributes
No specific attributes are assigned for this element, other than the standard global attributes.