Hello there. What does the scope=“col” mean?
Please post your actual code instead of a picture. Thanks
When I try to post the code, it doesn’t post it in a good format
When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).
Hi @mcmichaeltyler93 ,
The HTML <th>
scope Attribute is used to specify the header 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.
Syntax:
<th 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.
Check this for more :
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.