Name

<spacer> — NN: 2, 3, 4 - MSIE: 2, 3, 4, 5 - HTML 4 - WebTV - Opera3

Synopsis

                     <spacer>
                  

Holds a specified amount of blank space within the flow of a page. It is often used to maintain space within table cells for correct display in Navigator.

Attributes

type=vertical|horizontal|block

Specifies the type of spacer: vertical inserts space between two lines of text, horizontal inserts space between characters, and block inserts a rectangular space.

size= number

Specifies a number of pixels to be used with a vertical or horizontal spacer.

height= number

Specifies height in number of pixels for a block spacer.

width= number

Specifies width in pixels for a block spacer.

align= value

Aligns block spacer with surrounding text. Values are the same as for the <img> tag.

Get Web Design in a Nutshell 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.