Name

<SPACER> — NN 3 IE n/a HTML n/a

Synopsis

<SPACER>

End Tag: Forbidden

As a solution to the need for creating blank space without forcing &nbsp; entities, incessant <P> tags, or transparent images, Navigator 3 introduced the SPACER element. This element creates empty space within a line of text, between lines, or as a rectangular space. Some of this functionality can be re-created in a cross-browser implementation with style sheets.

Example

<P>This is one line of a paragraph.
<SPACER TYPE="vertical" SIZE=36>
And this completes the paragraph with a three-line gap from the first line.</P>

Attributes

ALIGN

HEIGHT

SIZE

TYPE

WIDTH

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.