HTML <span> tag
Examples
Use <span> element of the text part of the coloring:
<p>我的母亲有 <span style="color:blue">蓝色</span>
的眼睛。</p>
try it"
Browser Support
All major browsers support <span> tag.
Tag definitions and instructions
<Span> is used within a document row elements combined.
<Span> tag is no fixed format performance. When the style applied to it, it will produce visual changes. Without <span> Apply Style, then <span> element in the rest of the text will not be any visual difference.
<Span> tag provides independent manner or a portion of one part of the document text.
Tips and Notes
Note: The text is <span> element contains, you can use it to define CSS styles, or use JavaScript to operate it.
Differences between HTML 4.01 and HTML5
NONE.
Global Properties
<span> tag supports HTML global properties .
Event Properties
<span> tag supports HTML event properties .