HTML < rowspan> Attribute Last Updated : 17 Apr, 2025 Summarize Comments Improve Suggest changes Share Like Article Like Report The HTML <th> rowspan Attribute is used to specify how many numbers of header row cell will span. Syntax: <th rowspan="number">Attribute Value: number: It contains the numeric value which specifies the number of rows the header cell should span.Example: html <!DOCTYPE html> <html> <head> <title> HTML th rowspan Attribute </title> </head> <body> <h1>GeeksforGeeks</h1> <h2>HTML th rowspan Attribute</h2> <table border="1" width="500"> <tr> <th>NAME</th> <th rowspan="3">AGE</th> <th>BRANCH</th> </tr> <tr> <td>BITTU</td> <td>CSE</td> </tr> <tr> <td>RAKESH</td> <td>EC</td> </tr> </table> </body> </html> Output: Supported Browsers: The browser supported by HTML <th> rowspan attribute are listed below: Google Chrome 1 and aboveEdge 12 and aboveInternet ExplorerFirefox 1 and aboveSafariOpera Comment More infoAdvertise with us Next Article HTML < rowspan> Attribute J jit_t Follow Improve Article Tags : Web Technologies HTML HTML-Attributes Similar Reads HTML | <td> rowspan Attribute The HTML <td> rowspan Attribute is used to specify the number of rows a cell should span. That is if a row spans two rows, it means it will take up the space of two rows in that table. It allows the single table cell to span the height of more than one cell or row. It provides the same functio 1 min read HTML rowspan Attribute The rowspan attribute in HTML specifies the number of rows a cell should span. That is if a row spans two rows, it means it will take up the space of two rows in that table. It allows the single table cell to span the height of more than one cell or row. It provides the same functionality as "merge 3 min read HTML | <col> span Attribute The HTML <col> span Attribute is used to specify how many numbers of col element should span. Syntax: <col span="number"> Attribute Values: It contains the numeric value which specifies the number of col element should span. Example: html <!DOCTYPE html> <html> <head> 1 min read HTML | <textarea> rows Attribute The HTML textarea rows Attribute is used to specify the number of visible text lines for the control i.e the number of rows to display. It also specifies the visible height of the Textarea. Syntax: <textarea rows = "value"> Attribute Values: number: It specify the height of the Textarea. Its D 1 min read HTML5 MathML rowspan Attribute This attribute holds the value that how many rows does the cell extend. This attribute is accepted by the <mtd> tag only. Syntax: <element rowspan="non-negative-int"> Attribute Values: non-negative-int: This value holds the integer that create the span by rows. Below example illustrate t 1 min read Like