"The ability to set tab stops in LITeral text makes it much easier to write filters that convert documents written on word processors into HTML+. Tab stops can be set by the TAB element and apply for the scope of the LIT element," (HTML+)
The <tab> allows the author to control the horizontal movement of text on a page, independent of the browser.
align=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
Lines are usually rendered according to the alignment option for the enclosing paragraph element. The ALIGN attribute can be used to explicitly specify the horizontal alignment. (W3)
|
| center
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
Following text up to next tab or line break is centered on the designated tab stop. If the TO attribute is missing, it centers the text between the current left and right margins. (w3)
|
| decimal
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
The following text is searched for the first occurrence of the character representing the decimal point. The text up to the next tab or line break is then aligned such that the decimal point starts at the designated tab stop. If the TO attribute is missing, the tab element is treated as a single space character. (w3)
|
| left
default
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
the following text starts immediately after the designated tab stop (the default) (w3)
|
| right
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
Following text up to the next tab or line break is rendered flush right to the designated tab stop. If the TO attribute is missing, it renders the text flush right against the current right margin. (w3)
|
at=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
This specifies the position of the tag stop. HTML+ specifies the unit of measure be "EMs". (This is the width of the capital letter "M")
|
dp=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
This specifies the character to be used for the decimal point with the ALIGN attribute, e.g. dp="." (the default) or dp=",." The default may be altered by the language context, as set by the LANG attribute on enclosing elements. (w3)
|
id=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
The id="" attribute takes on a slightly modified role in the <tab> element. Its' function is to locate the position of relevant tab stops. In a word processor you would set a tab stop so a specific value relative to a horizontal location on the page. In HTML this same function must be provided.
The result <tab id="tab1"> sets the first tab at that specific location. Later in the text, I would use <tab to="tab1" align="left"> to move to that tab stop.
|
indent=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
Specifies the number of en units before the tab stop. The en is a typographical unit equal to half the point size. It allows authors to control the leading indent before text, e.g. in poetry, one might use <TAB INDENT="6"> to indent six en units at the start of a line. The INDENT attribute is not meaningful when combined with the TO attribute. (W3)
|
to=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
Specifies a previously defined tab stop (see ID attribute) (W3)
|