[ S t a n d a r d ]
[ s t r e n g t h ]
[ t a b l e ]
RFC is not a standard
|
RFC is not a standard. It can be decronymed as Request For Comments or
Response From Cucumber or Reasonable Fertilized Conundrum.
Some people (few) supposedly use it as a refernce point. Some people (lots)
don't know what RFC means.
We decided to use RFC for what it supposed to and make some comments on
one of the Request For Comments.
|
The Dig
|
Lately we digged up
RFC for tables.
This RFC, for no apparent reason,
described HTML tables. We read it with great appreciation, and immediately
applied our powerful analog-debilitative filtering system against it.
This filtering system reduced IQ attenuation of the text while leaving most
of the sense intact, this stipulating nonsensical exeskeleton which we tried to
represent -- again -- in tabular form.
|
The RFC Table
We have created the table which uses all elements from the table RFC.
Whether this tablewill be visible in some particular browser is unknown,
and theoretically unimportant.
<TABLE border=10 width="60%" align=center cols=2
frame=hsides rules=cols cellspacing = 10 cellpadding=10>
<CAPTION align>
Some caption
</CAPTION>
<COLGROUP span=2 width="30%" align=center valign=top>
<COL span=1 width=0.7* align=right valign=middle>
<THEAD align=center valign=top>
<TR align=left valign=middle>
<TH align=center valign=middle> Head cell 1
<TH align=center valign=middle> Head cell 2
<TBODY align=center valign=top>
<TR align=left valign=middle>
<TH align=center valign=middle> Body cell 1
<TD align=center valign=middle> Body cell 2
<TR align=left valign=middle>
<TD align=center valign=middle nowrap colspan=2 rowspan=1> Body cell 3
<TFOOT align=center valign=top>
<TR align=left valign=middle>
<TH align=center valign=middle nowrap colspan=2 rowspan=1> Footer cell 1
</TABLE>
. . . . . Rendering of the table above . . . . .
Some caption
| Head cell 1
| Head cell 2
|
| Body cell 1
| Body cell 2
|
| Body cell 3
|
| Footer cell 1
|
RFC table tags
We listed all the table tags as specified by RFC. As an added bonus,
we throwed in some arguably useful tag parameters supported by the two
marked leading browsers.
How these tags are handled by the browsers is described in the
Maximum RFC section.
(N) means that we think the feature is not supported by the
Netscape Navigator. "We think" means this feature maybe supported, but we were
unable to trace any sign of such support.
(IE) means the feature is specific to Microsoft Internet
Explorer, (IE + N3) Internet Explorer and Navigator version 3
and greater, etc.
Also, we thought the tags are pretty obvious. If we mistaken and they did not,
table RFC provides a
fine reference point, much finer that we would ever be able to provide.
There are some notes at the end.
<TABLE>
| |
Table itself.
| BORDER | units (value is optional: <table border> is a valid construct)
|
|---|
ALIGN (N) | (LEFT|CENTER|RIGHT|JUSTIFY|CHAR) alignment -- relative to window
|
|---|
| WIDTH | percent or pixels
|
|---|
| COLS | number of columns
|
|---|
FRAME (N) | (VOID|ABOVE|BELOW|HSIDES|LHS|RHS|VSIDES|BOX|BORDER) which sides of table frame to display
|
|---|
RULES (N) | (NONE|GROUPS|ROWS|COLS|ALL) how to draw rules between cells
|
|---|
| CELLSPACING | units
|
|---|
| CELLPADDING | units
|
|---|
| BGCOLOR (IE+N3) | a color (also TR and TD)
|
|---|
| BORDERCOLOR (IE) | a color
|
|---|
|
<CAPTION>
| |
Contains caption text.
ALIGN (N) | (LEFT|CENTER|RIGHT|JUSTIFY|CHAR) caption text alignment.
|
|---|
|
<COLGROUP>
| |
Column group. Closing tag is optional.
| SPAN | units
|
|---|
| WIDTH | percent or pixels
|
|---|
| ALIGN | (LEFT|CENTER|RIGHT|JUSTIFY|CHAR) horizontal alignment in cells
|
|---|
| VALIGN | (TOP|MIDDLE|BOTTOM|BASELINE) vertical alignment in cells
|
|---|
|
<COL>
| |
Column. Closing tag is optional.
| SPAN | units
|
|---|
| WIDTH | percent or pixels
|
|---|
| ALIGN | (LEFT|CENTER|RIGHT|JUSTIFY|CHAR) horizontal alignment in cells
|
|---|
| VALIGN | (TOP|MIDDLE|BOTTOM|BASELINE) vertical alignment in cells
|
|---|
|
<THEAD>
| |
Table header. Closing tag is optional.
| ALIGN | (LEFT|CENTER|RIGHT|JUSTIFY|CHAR) horizontal alignment in cells
|
|---|
| VALIGN | (TOP|MIDDLE|BOTTOM|BASELINE) vertical alignment in cells
|
|---|
|
<TFOOT>
| |
Table footer. Closing tag is optional.
| ALIGN | (LEFT|CENTER|RIGHT|JUSTIFY|CHAR) horizontal alignment in cells
|
|---|
| VALIGN | (TOP|MIDDLE|BOTTOM|BASELINE) vertical alignment in cells
|
|---|
|
<TBODY>
| |
Table body.Opening and closing tags are optional.
| ALIGN | (LEFT|CENTER|RIGHT|JUSTIFY|CHAR) horizontal alignment in cells
|
|---|
| VALIGN | (TOP|MIDDLE|BOTTOM|BASELINE) vertical alignment in cells
|
|---|
|
<TR>
| |
Table row. Closing tag is optional.
| ALIGN | (LEFT|CENTER|RIGHT|JUSTIFY|CHAR) horizontal alignment in cells
|
|---|
| VALIGN | (TOP|MIDDLE|BOTTOM|BASELINE) vertical alignment in cells
|
|---|
|
<TH>
| |
Table header cell. Closing tag is optional.
NOTE: despite RFC does not define WIDTH as attribute
for TH and TD, Netscape seems to accept
width specification for this elements.
| NOWRAP | either NOWRAP or nothing (i.e. wrap) |
| ROWSPAN | units (default=1)
|
|---|
| COLSPAN | units (default=1)
|
|---|
| ALIGN | (LEFT|CENTER|RIGHT|JUSTIFY|CHAR) horizontal alignment of the contents
|
|---|
| VALIGN | (TOP|MIDDLE|BOTTOM|BASELINE) vertical alignment of the contents
|
|---|
|
<TD>
| |
Table cell. Closing tag is optional.
| NOWRAP | either NOWRAP or nothing (i.e. wrap) |
| ROWSPAN | units (default=1)
|
|---|
| COLSPAN | units (default=1)
|
|---|
| ALIGN | (LEFT|CENTER|RIGHT|JUSTIFY|CHAR) horizontal alignment of the contents
|
|---|
| VALIGN | (TOP|MIDDLE|BOTTOM|BASELINE) vertical alignment of the contents
|
|---|
|
| (LEFT|CENTER|RIGHT|JUSTIFY|CHAR) | As implies.
|
|---|
| CHAR | Alignment character (CHAR=":")
default is decimal point.
|
|---|
| CHAROFF | Offset of the alignment character.
|
|---|
| ID | document-wide identifier
|
|---|
| CLASS | class - for style sheets
|
|---|
| LANG | some language
|
|---|
| DIR | (LTR|RTL) text direction : left to right, right to left.
|
|---|
Notes
- Table RFC specifies overwhelmingly vast amout of different ways to specify
alignment within table cells. We didn't notice that any browser would support
CHAR alignemt or justification.
- RFC describes some bizzare way to specifiy relative width of
table columns, rows and cells by using * (star)
notation. For example, width of 0.5* would specify relative width of 0.5.
We were unable to understand what this width is relative to, and how it works.
We also didn't notice that browsers would pay any attention to such notation, either.
![[base]](base.gif)