create a table in which table heading is roll number , name and percentage and input details of four students
Answers
Answer:
it is a practical question
Answer:
Contents
Introduction to tables
Elements for constructing tables
The TABLE element
Table directionality
Table Captions: The CAPTION element
Row groups: the THEAD, TFOOT, and TBODY elements
Column groups: the COLGROUP and COL elements
The COLGROUP element
The COL element
Calculating the number of columns in a table
Calculating the width of columns
Table rows: The TR element
Table cells: The TH and TD elements
Cells that span several rows or columns
Table formatting by visual user agents
Borders and rules
Horizontal and vertical alignment
Inheritance of alignment specifications
Cell margins
Table rendering by non-visual user agents
Associating header information with data cells
Categorizing cells
Algorithm to find heading information
Sample table
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