span
(attributo base HTML) stabilisce il numero di colonne da unire nei tag HTML <col>
e <colgroup>
.
tag |
valore |
---|---|
|
|
Come sopra. |
Esempio
<table> <colgroup span="2" style="background-color:red"> </colgroup> <tr> <th>ISBN</th> <th>Titolo</th> <th>Prezzo</th> </tr> <tr> <td>123456789</td> <td>Gestiolex</td> <td>€ 100</td> </tr> </table>
ISBN | Titolo | Prezzo |
---|---|---|
123456789 | Gestiolex | € 100 |
<table> <colgroup> <col span="2" style="background-color:red"> <col style="background-color:yellow"> </colgroup> <tr> <th>ISBN</th> <th>Titolo</th> <th>Prezzo</th> </tr> <tr> <td>123456789</td> <td>Gestiolex</td> <td>€ 100</td> </tr> </table>
ISBN | Titolo | Prezzo |
---|---|---|
123456789 | Gestiolex | € 100 |
0 Comment