Computer Science, asked by skAayanIqbal, 8 months ago

*) By default, Name box is present (below / above / centre) the
column heading.​

Answers

Answered by meenuharishmey
1

Answer:

above

Explanation:

Answered by thesonofkrishna
0

Explanation: 11.1 Introduction to tables

The HTML table model allows authors to arrange data -- text, preformatted text, images, links, forms, form fields, other tables, etc. -- into rows and columns of cells.

Each table may have an associated caption (see the CAPTION element) that provides a short description of the table's purpose. A longer description may also be provided (via the summary attribute) for the benefit of people using speech or Braille-based user agents.

Table rows may be grouped into a head, foot, and body sections, (via the THEAD, TFOOT and TBODY elements, respectively). Row groups convey additional structural information and may be rendered by user agents in ways that emphasize this structure. User agents may exploit the head/body/foot division to support scrolling of body sections independently of the head and foot sections. When long tables are printed, the head and foot information may be repeated on each page that contains table data.

Authors may also group columns to provide additional structural information that may be exploited by user agents. Furthermore, authors may declare column properties at the start of a table definition (via the COLGROUP and COL elements) in a way that enables user agents to render the table incrementally rather than having to wait for all the table data to arrive before rendering.

Table cells may either contain "header" information (see the TH element) or "data" (see the TD element). Cells may span multiple rows and columns. The HTML 4 table model allows authors to label each cell so that non-visual user agents may more easily communicate heading information about the cell to the user. Not only do these mechanisms greatly assist users with visual disabilities, they make it possible for multi-modal wireless browsers with limited display capabilities (e.g., Web-enabled pagers and phones) to handle tables.

Tables should not be used purely as a means to layout document content as this may present problems when rendering to non-visual media. Additionally, when used with graphics, these tables may force users to scroll horizontally to view a table designed on a system with a larger display. To minimize these problems, authors should use style sheets to control layout rather than tables.

Note. This specification includes more detailed information about tables in sections on table design rationale and implementation issues.

Here's a simple table that illustrates some of the features of the HTML table model. The following table definition:

<TABLE border="1"

         summary="This table gives some statistics about fruit

                  flies: average height and weight, and percentage

                  with red eyes (for both males and females).">

<CAPTION><EM>A test table with merged cells</EM></CAPTION>

<TR><TH rowspan="2"><TH colspan="2">Average

   <TH rowspan="2">Red<BR>eyes

<TR><TH>height<TH>weight

<TR><TH>Males<TD>1.9<TD>0.003<TD>40%

<TR><TH>Females<TD>1.7<TD>0.002<TD>43%

</TABLE>

might be rendered something like this on a tty device:

         A test table with merged cells

   /-----------------------------------------\

   |          |      Average      |   Red    |

   |          |-------------------|  eyes    |

   |          |  height |  weight |          |

   |-----------------------------------------|

   |  Males   | 1.9     | 0.003   |   40%    |

   |-----------------------------------------|

   | Females  | 1.7     | 0.002   |   43%    |

   \-----------------------------------------/

or like this by a graphical user agent:

1.2 Elements for constructing tables

11.2.1 The TABLE element

<!ELEMENT TABLE - -

    (CAPTION?, (COL*|COLGROUP*), THEAD?, TFOOT?, TBODY+)>

<!ATTLIST TABLE                        -- table element --

 %attrs;                              -- %coreattrs, %i18n, %events --

 summary     %Text;         #IMPLIED  -- purpose/structure for speech output--

 width       %Length;       #IMPLIED  -- table width --

 border      %Pixels;       #IMPLIED  -- controls frame width around table --

 frame       %TFrame;       #IMPLIED  -- which parts of frame to render --

 rules       %TRules;       #IMPLIED  -- rulings between rows and cols --

 cellspacing %Length;       #IMPLIED  -- spacing between cells --

 cellpadding %Length;       #IMPLIED  -- spacing within cells --

 >

Start tag: required, End tag: required

Attribute definitions

summary = text [CS]

This attribute provides a summary of the table's purpose and structure for user agents rendering to non-visual media such as speech and Braille.

align = left|center|right [CI]

Deprecated. This attribute specifies the position of the table with respect to the document. Permitted values:

left: The table is to the left of the document.

center: The table is to the center of the document.

right: The table is to the right of the document.

width = length [CN]

This attribute specifies the desired width of the entire table and is intended for visual user agents. When the value is a percentage value, the value is relative to the user agent's available horizontal space. In the absence of any width specification, table width is determined by the user agent.

Attributes defined elsewhere

Similar questions
Math, 8 months ago