HTML Syntax
<span class = classname datafld = colname dataformatas = html | text datasrc = #id id = value style = css_style_rules title = text >
The SPAN element encloses an inline section of content. A SPAN is especially useful for applying CSS styles to specific sections within a block.
To enclose blocks of content, authors can use the DIV element.
NOTE: Both start and end tags are required.
The <span> element has no attribute of its own, but supports global attributes common to all HTML elements.
<span>
<p>Here is a sentence with <span style="color:blue; font:italic bold 11pt bookman,times,serif">a span of text in bold, italic blue serif.</span></p>
Here is a sentence with a span of text in bold, italic blue serif.
DIV
Check out related books at Amazon
© 2025 Reynald Nuñez and asp.net.ph. All rights reserved. If you have any question, comment or suggestion about this site, please send us a note