HTML <spacer> (Extra Space) Tag
Deprecated: Not Supported in HTML5.
No standards suppor.
Example
<p>This is <spacer type="horizontal" size="10">spacer element example.</p>
Meaning
The <spacer> is older Netscape-proprietary element specifies an invisible region, which is useful for page layout.
Note: This element should not be used because no standards support.
Only supported by Netscape 3, 4, 4.5–4.8
Version: No standards support
Standard Syntax (Netscape 3 and 4 Only)
<spacer>
Browser Support
Status
Attributes
Attribute | Value | Description |
---|---|---|
align | left right center. |
Specifies the alignment of the spacer with respect to surrounding text. |
height | pixels | Specifies the height of the invisible region, in pixels. It is used only with spacers with type="block". |
size | number | Sets the spacer’s width, in pixels. |
type | block horizontal vertical |
Specifies the type of invisible region. |
width | pixels | Specifies the width of the region, in pixels. |
Global Attributes
The <spacer> element also supports the Global Attributes in HTML.
Event Attributes
The <spacer> element also supports the Event Attributes in HTML.