Spacer
 
End Tag: Omitted
Support Key: 2 | 3 | 3.2 | IE | M | N3B5
What is it?
Attributes
Tag Example
Parent/Content Model
Tips & Tricks
Browser Peculiarities
= Index DOT Html by Brian Wilson [bloo@blooberry.com] =
Main Index | Top Of Tree | Tag Index | Tag History


What is it?
The SPACER tag attempts to give the author more control over white space in HTML documents. The author can control horizontal-only spacing, vertical-only spacing, or block spacing (vertical and horizontal) as well.
Attributes
Align
2 | 3 | 3.2 | IE | M | N3B5
Required? No
Description:
This attribute only applies when the TYPE is Block. It controls alignment of the surrounding text relative to the spacing block.
Values:
   Left | Right | Top | Texttop | Middle | Absmiddle | Baseline | Bottom | Absbottom
Height
2 | 3 | 3.2 | IE | M | N3B5
Required? No
Description:
This attribute only applies when the TYPE is Block. It controls the pixel height of the Block [Rectangle] SPACER element.
Values: Positive integers.
Size
2 | 3 | 3.2 | IE | M | N3B5
Required? No
Description:
This attribute only applies when the SPACER has a TYPE of Horizontal or Vertical. It controls the pixel height or width of the SPACER element.
Values: Positive integers.
Type
2 | 3 | 3.2 | IE | M | N3B5
Required? Yes
Description:
The values for TYPE allow different types of control over whitespace spacing.
Values:
   Horizontal: [DEFAULT] This TYPE inserts horizontal space between text or content objects. The amount of space is specified by the SIZE attribute. Other SPACER attributes will be ignored.
   Vertical: This TYPE inserts vertical space between lines. The amount of space is specified by the SIZE attribute. Other SPACER attributes will be ignored.
   Block: This TYPE behaves exactly like a transparent image. When this type is used, the SIZE attribute will be ignored and Height, Width and Align will be analyzed in its place.
Width
2 | 3 | 3.2 | IE | M | N3B5
Required? No
Description:
This attribute only applies when the TYPE is Block. It controls the pixel width of the Block [Rectangle] SPACER element.
Values: Positive integers.

Style Sheet Attributes
[More on Cascading Style Sheets]
Class
2 | 3 | 3.2 | IE | M | N4B2
Required? No
Description:
This represents an assigned semantic classification grouping(s) for the current tag.
Values:
Given as a comma separated list of alphanumeric characters. Class names may contain spaces (multiple consecutive spaces treated as a single space.)
ID
2 | 3 | 3.2 | IE | M | N4B2
Required? No
Description:
This assigns an alpha-numeric identifier that is unique to this tag instance. Style sheets may use this attribute to reference the current instance of this tag. Hyperlinks may also use this identifier to serve as a destination.
Values:
An alphanumeric string - initial character must be a letter followed by alphabetic characters, digits, "-" or "." characters. The allowable set of alpha-characters is restricted to the A-Z and a-z set.
Style
2 | 3 | 3.2 | IE | M | N4B3
Required? No
Description:
This attribute is a text string that provides rendering style information for the current tag.
Values:
Please see the description of inline styles for more information on how to use this attribute and its possible values.
Example
<spacer TYPE="block" ALIGN="left" WIDTH=100 HEIGHT=100>
This is text that began with a SPACER element. Do you like it?
<br CLEAR="left">
Parent Model
%Anchors% | %Virtual Formatting% | %Physical Formatting% | %Block Format Parent% | %Multimedia Parent% | <Body> | <Address> | <Basefont> | <Heading> | <Marquee>
Content Model
This tag does not accept any content.
Tips & Tricks Browser Peculiarities
Boring Copyright Stuff...