|
SPAN - Generic Inline Container
The SPAN element is a generic inline container. SPAN carries no structural meaning itself, but it can be used to provide extra structure through its LANG, DIR, CLASS, and ID attributes. Style sheets are often used to suggest a presentation for a given class or ID. SPAN should only be used where no other HTML inline element provides a suitable meaning. If a presentation such as bold or italic text would be suitable on visual browsers, authors may prefer to use an appropriate font style element. For example:
These examples are identical in meaning, but the second example uses the I element to suggest italic text. DIV is a block-level equivalent of SPAN for containing block-level elements such as P and TABLE. More Information |
|||||||||||||||||||||||||
With any suggestions or questions please feel free to contact us |