BWS TASK 3: HTML STRUCTURE: TABLES, DIVS, AND SPANS

Thứ Sáu, 17 tháng 7, 2015 | Đăng: Son
1. HTML Table

- Tables are defined with the <table> tag.
- Tables are divided into table rows with the <tr> tag.
- Table rows are divided into table data with the <td> tag.
- A table row can also be divided into table headings with the <th> tag.
+ Table Head: stored information of table (Displaying in the top of table). <thead> </thead>. Creating rows with <tr> and a data cell with <th> </th> tags.
+ Table Body: Contained actual data. <tbody> </tbody>.
-  For creating a bigger cell than others, we use column span attribute: colspan = “number of columns”. It will expand the width of cell to the specified NUMBER of COLUMN.

2. Div
- In order to creating some Parts of page, HTML provide Division Separating tags: <div> </div>

3. Span
- Span tags provide us a tool for styling specific parts of page, of table, of paragraph … for multi targets.

Mail Facebook Google twitter

BWS TASK 3: HTML STRUCTURE: TABLES, DIVS, AND SPANS

Bài viết BWS TASK 3: HTML STRUCTURE: TABLES, DIVS, AND SPANS
BWS TASK 3: HTML STRUCTURE: TABLES, DIVS, AND SPANS BWS TASK 3: HTML STRUCTURE: TABLES, DIVS, AND SPANS
910 1

Bài viết BWS TASK 3: HTML STRUCTURE: TABLES, DIVS, AND SPANS

0 nhận xét