colspan和rowspan

colspanAnd rowspanthese two attributes are used to create a special form.

colspanThe number of columns for the specified cell should span: colspan is combined columns, colspan = 2 is then combined two.

rowspan用来Specified number of rows of cells across the longitudinal: rowspan combined line is used, such as rowspan = 2 is merged two rows,

  • rowspan generally used td and th Tags
  • row: line, span: span, span, range
  • col: Column, span: span, span, range

Guess you like

Origin www.cnblogs.com/lilihuan/p/11266388.html