Tag Description:


<TAB> Horizontal Tab

Definition: Use the TAB element when you want to exercise fine control over the horizontal positioning. When used with style sheets, the TAB element allows conversion software to preserve layout information when it imports documents made with conventional word processing software.

Standard Attribute: ID



INDENT specifies the number of en units that are before the tab stop (en is a typographical unit that equals one-half the point size). INDENT lets you control the leading indent before text. For example, if you're citing poetry, you could use <TAB INDENT=8> to indent 8 en units at the beginning of a line. The INDENT attribute loses its meaning when it's combined with the TO attribute.


TO specifies a tab stop that has been previously defined (see ID attribute).


You can use the ALIGN attribute to specify the exact horizontal alignment. Lines are typically rendered in accordance with the alignment option for the enclosing paragraph element.

* align=left: The following text begins immediately after the designated tabstop, which is the default.

* align=right: The following text up to the next line break or tab is rendered flush right to the designated tabstop. The text is rendered flush right against the current right margin if the TO attribute is not present.

* align=center: The following text up to the next line break or tab is centered on the tab stop indicated. The text is centered between the current left and right margins if the TO attribute is not present.

* align=decimal: Searches the following text for the initial occurrence of the character that represents the decimal point.


DP indicates which character is to be used for the decimal point with the ALIGN attribute, e.g. dp="," or dp="." (this is the default). It is possible to alter the default by the language context as set on enclosing elements by the LANG attribute.

Context: <TAB> is legal within

<A>, <ABBREV>, <ACRONYM>, <ADDRESS>, <AU>, <B>, <BANNER>, <BIG>, <BODY>, <BODYTEXT>, <CAPTION>, <CITE>, <CODE>, <CREDIT>, <DD>, <DEL>, <DFN>, <DIV>, <DT>, <EM>, <FIGTEXT>, <FN>, <FORM>, <H1>, <H2>, <H3>, <H4>, <H5>, <H6>, <I>, <INS>, <KBD>, <LANG>, <LH>, <LI>, <NOTE>, <P>, <PERSON>, <Q>, <S>, <SAMP>, <SMALL>, <STRONG>, <SUB>, <SUP>, <TD>, <TH>, <TT>, <U>, <VAR>

The following markup can be used within <TAB> None

Suggested style/usage: Close Tag: OPTIONAL

Examples: <TAB INDENT=6>This is a great way to indent a paragraph or set off an image.


E-Mail: HTML for Dummies at html4dum@lanw.com
URL: http://www.lanw.com/html4dum/h4d2e/t0082.htm
Text - Copyright © 1995, 1996 Ed Tittel & Steve James.
For Dummies, the Dummies Man logo and Dummies Press are trademarks or registered trademarks of Wiley Publishing, Inc. Used with Permission.
Web Layout - Copyright © 1996, LANWrights
Revised -- May, 2002 [MCB]