HTML Reference Guide


Tag Index| Content List| HTML FAQ

<SPACER> SPACER

Description:

The SPACER element 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 - This attribute only applies when the TYPE is Block. It controls alignment of the surrounding text relative to the spacing block.

height - This attribute only applies when the TYPE is Block. It controls the pixel height of the Block [Rectangle] SPACER element.

size - This attribute only applies when the SPACER has a TYPE of Horizontal or Vertical. It controls the pixel width or height of the SPACER element.

type - The values for TYPE allow different types of control over whitespace spacing.

width - This attribute only applies when the TYPE is Block. It controls the pixel width of the Block [Rectangle] SPACER element.

Example code:

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

Result:

This is text that began with a SPACER element. Do you like it?

See Also: