Expected results
Students know
- Demonstrates the skill of creating, saving and opening your own web page.
- Demonstrates knowledge of web document structure
- Uses tags to create a table on your own webpage.
4
Tables represent tabular data
A table consists of one or several rows
Each row has one or more columns
Tables comprised of several core tags:: begin / end the table
: create a table row : create tabular data (cell)
Tables should not be used for layout
Use CSS floats and positioning styles instead
HTML Tables
Two kinds of cells in HTML tables Data Cells and Header Cells 8 Table rows split into several semantic sections: Complete HTML Tables 9 Complete HTML Table: Example table header footer Last comes the body (data) column width definitions 10 Complete HTML Table: Example (2) Although the footer is before the data in the code, it is displayed last Deprecated: use CSS instead!
Материалы на данной страницы взяты из открытых источников либо размещены пользователем в соответствии с
договором-офертой сайта. Вы можете
сообщить о нарушении.
Data cells
Hold the table data –
Header cells
Hold the column names –
Semantically separate data and headers Full Name Grade Mariela Anderson Very Good (5)
Georgi Georgiev Exellent (6)
denotes the table header
Contains elements, instead of cells
denotes collection of table rows holding table data
denotes table footer
It may comes before the elements, but is displayed last
Used to assign column widths
Column 1 Column 2
Footer 1 Footer 2
Cell 1.1 Cell 1.2
Cell 2.1 Cell 2.2 header column
Column 1 Column 2
Footer 1 Footer 2
Cell 1.1 Cell 1.2
Cell 2.1 Cell 2.2