Is there a property named “rowgroup” like “colgroup” in XHTML?

后端 未结 6 546
盖世英雄少女心
盖世英雄少女心 2021-01-05 23:02

The following w3c documents mentions rowgroup

  • http://www.w3.org/TR/html401/struct/tables.html#h-11.2.6
  • http://www.w3.org/TR/
6条回答
  •  执念已碎
    2021-01-05 23:38

    No, there is no such element. If you want to group rows, you can put the particular tr elements in the same class.


    The “rowgroup” you are referring to is a row group that is naturally formed by an element like thead, tbody and tfoot. And Scope is used to define the value set in the same-named attribute scope that is used to refer to the scope the current th element is providing information for:

    
    
    
    
    
    
    
    

    Here Scope is a parameter entity with the value (row|col|rowgroup|colgroup). This entity is then refered to in the declaration of the attribute value list of scope with the parameter entity reference %Scope;.

    Parameter entities in SGML are like variables and references to such parameter entities are replaced by its values. That means the following two attribute definitions are equal:

    
    
    
    
    

提交回复
热议问题