asp.net.ph

Skip Navigation Links

SPAN Element | SPAN Object

Language References


Specifies an inline text container.HTML 4, 4.01, 5

HTML Syntax

Remarks

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.

Members

SPAN Members

Example

<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.

See Also

DIV



© 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