Headings in html

Can anyone give some examples of scope in heading in html


Hello @cs_tewari, welcome to the forums. Do you mean table headings (<th>)? If so, the scope works for row and column:

<th scope="col"><!--Header for columns-->
<th scope="row"><!--Header for rows-->
<th scope="colgroup"><!--Header for group of columns-->
<th scope="rowgroup"><!--Header for group of rows-->

I hope this helps!

1 Like