HTML | Scope Attribute - GeeksforGeeks
Trang chủ » Html Table Scope Colgroup
» HTML |
Scope Attribute - GeeksforGeeks
Có thể bạn quan tâm
The HTML <td> scope Attribute is used to specify the cell is used for header row, column, colgroup or rowgroup. This attribute does not display any visual effect on the browser but it is used for screen readers.
Note: This attribute is not supported by HTML5.
Syntax:
<td scope="col | row | colgroup | rowgroup"> Attribute Values:
- col: It specifies that the header cell is used for column.
- row: It specifies that the header cell is used for row.
- colgroup: It specifies that the header cell is used for group of column.
- rowgroup: It specifies that the header cell is used for group of row.
Example:
<!DOCTYPE html> <html> <head> <title>HTML scope Attribute</title> <style> table, th, td { border: 1px solid black; border-collapse: collapse; padding: 6px; } </style> </head> <body style="text-align:center"> <h1 style="color: green;">GeeksforGeeks</h1> <h2>HTML <td>scope Attribute</h2> <center> <table> <tr> <th>Name</th> <th>Age</th> </tr> <tr> <td scope="col">Ajay</td> <!-- This cell will take up space on two rows --> <td>24</td> <td>24</td> <td>44</td> </tr> <tr> <td>Priya</td> </tr> </table> </center> </body> </html>
Output:
Supported Browsers: The browsers supported by HTML <td> scope Attribute are listed below:
- Google Chrome
- Internet Explorer
- Firefox
- Apple Safari
- Opera
M
ManasChhabra2 Follow Improve Previous Article HTML | <tr> charoff Attribute Next Article HTML | <td> rowspan Attribute
Từ khóa » Html Table Scope Colgroup
-
Scope Of Headers | Tables | WAI Web Accessibility Tutorials - W3C
-
H63: Using The Scope Attribute To Associate Header Cells And ... - W3C
-
HTML Th Scope Attribute - W3Schools
-
: The Table Column Group Element - MDN Web Docs
-
HTML Table Advanced Features And Accessibility - MDN Web Docs
-
HTML | Scope Attribute - GeeksforGeeks
-
HTML Th Scope Attribute - Dofactory
-
What's The Correct Scope Value To Use For An HTML Table Cell ...
-
Cells In A
Element That Use The Headers Attribute Must Only ...
-
Add Header Cells To Tables | Brand And Communication Guide
-
HTML Td Scope Attribute
-
Table Column And/or Row Scopes Not Found
-
The Table Element - HTML Standard, Edition For Web Developers
-
Irregular Headers Table With Sum Of Column Values
Liên Hệ
TRUYỀN HÌNH CÁP SÔNG THU ĐÀ NẴNG
Địa Chỉ: 58 Hàm Nghi - Đà Nẵng
Phone: 0904961917
Facebook: https://fb.com/truyenhinhcapsongthu/
Twitter: @ Capsongthu
Copyright © 2022 | Thiết Kế Truyền Hình Cáp Sông Thu
Trang chủ » Html Table Scope Colgroup » HTML |
Có thể bạn quan tâm
The HTML <td> scope Attribute is used to specify the cell is used for header row, column, colgroup or rowgroup. This attribute does not display any visual effect on the browser but it is used for screen readers.
Note: This attribute is not supported by HTML5.
Syntax:
<td scope="col | row | colgroup | rowgroup">Attribute Values:
- col: It specifies that the header cell is used for column.
- row: It specifies that the header cell is used for row.
- colgroup: It specifies that the header cell is used for group of column.
- rowgroup: It specifies that the header cell is used for group of row.
Example:
<!DOCTYPE html> <html> <head> <title>HTML scope Attribute</title> <style> table, th, td { border: 1px solid black; border-collapse: collapse; padding: 6px; } </style> </head> <body style="text-align:center"> <h1 style="color: green;">GeeksforGeeks</h1> <h2>HTML <td>scope Attribute</h2> <center> <table> <tr> <th>Name</th> <th>Age</th> </tr> <tr> <td scope="col">Ajay</td> <!-- This cell will take up space on two rows --> <td>24</td> <td>24</td> <td>44</td> </tr> <tr> <td>Priya</td> </tr> </table> </center> </body> </html> |
Output:
Supported Browsers: The browsers supported by HTML <td> scope Attribute are listed below:
- Google Chrome
- Internet Explorer
- Firefox
- Apple Safari
- Opera
M
ManasChhabra2 Follow Improve Previous Article HTML | <tr> charoff Attribute Next Article HTML | <td> rowspan AttributeTừ khóa » Html Table Scope Colgroup
-
Scope Of Headers | Tables | WAI Web Accessibility Tutorials - W3C
-
H63: Using The Scope Attribute To Associate Header Cells And ... - W3C
-
HTML Th Scope Attribute - W3Schools
-
: The Table Column Group Element - MDN Web Docs -
HTML Table Advanced Features And Accessibility - MDN Web Docs
-
HTML |
Scope Attribute - GeeksforGeeks HTML Th Scope Attribute - Dofactory
What's The Correct Scope Value To Use For An HTML
Table Cell ... Cells In A
Element That Use The Headers Attribute Must Only ...
Add Header Cells To Tables | Brand And Communication Guide
HTML Td Scope Attribute
Table Column And/or Row Scopes Not Found
The Table Element - HTML Standard, Edition For Web Developers
Irregular Headers Table With Sum Of Column Values
Liên Hệ
TRUYỀN HÌNH CÁP SÔNG THU ĐÀ NẴNG
Địa Chỉ: 58 Hàm Nghi - Đà Nẵng
Phone: 0904961917
Facebook: https://fb.com/truyenhinhcapsongthu/
Twitter: @ Capsongthu
Copyright © 2022 | Thiết Kế Truyền Hình Cáp Sông Thu