Table Scope XHTML tag


Scope  
  Transitional   Strict
th tags example tags example
Must contain in opening tag   ----------------------   ----------------------
Must not contain in opening tag        
Can contain in opening tag        
Must contain between tags        
Can contain between tags       Same as 
Transitional
Must not contain between tags        
Must not be contained in        
Can be contained in        

The SCOPE attribute specifies the cells for which the TH element provides header information. SCOPE is a simpler alternative to using HEADERS if the arrangement of header cells is not complex. Possible values are as follows:

  • row, when the TH provides header information for the rest of the row;
  • col, when the TH provides header information for the rest of the column;
  • rowgroup, when the TH gives header information for the rest of the row group (i.e., the remaining cells of the THEAD, TFOOT, or TBODY);
  • colgroup, when the TH gives header information for the rest of the column group (i.e., the remaining cells of the COLGROUP).