HTML and CSS Reference
In-Depth Information
lines. <spacer align="left" type="block" height="100" width="100"> This
is a bunch of text that flows around an invisible block region. You
could have easily performed this layout with a table.
Compatibility
No standards support
Netscape 3, 4, 4.5-4.8
Note
• This element should not be used, because even newer versions of the Netscape
browser (6 and 7) have dropped support for this element. It is presented for
historical reasons and will be dropped from the reference in the next edition of this
topic.
<span> (Text Span)
This inline element is used to group content so scripting or style rules can be applied to the
enclosed content. As it has no preset or rendering meaning, this is the most useful inline
element for associating style and script with content.
Syntax
<span
class="class name(s)"
dir="ltr | rtl"
id="unique alphanumeric string"
lang="language code"
style="style information"
title="advisory text">
</span>
Attributes Introduced by HTML5
accesskey="spaced list of accelerator key(s)"
contenteditable="true | false | inherit"
contextmenu="id of menu"
data-X="user-defined data"
draggable="true | false | auto"
hidden="hidden"
itemid="microdata id in URL format"
itemprop="microdata value"
itemref="space-separated list of IDs that may contain microdata"
itemscope="itemscope"
itemtype="microdata type in URL format"
spellcheck="true | false"
tabindex="number"
Attributes Defined by Internet Explorer
accesskey="key" (5.5)
contenteditable="false | true | inherit" (5.5)
Search WWH ::




Custom Search