« Le langage HTML/Tableaux » : différence entre les versions

Contenu supprimé Contenu ajouté
m Amélioration du cours : syntaxe.
Ligne 177 :
; Exemple
<syntaxhighlight la,g="html">
<table border="1" rules="groups">
 
<colgroup span="2" width="40" align="left" />
<colgroup span="2" width="10" align="center" />
 
<tr>
<th> a </th> <th> b </th> <th> c </th> <th> d </th>
</tr>
<tr>
<td> 1 </td> <td> 2 </td> <td> 3 </td> <td> 4 </td>
</tr>
 
</table>
</syntaxhighlight>
: donne
Ligne 218 :
; Exemple
<syntaxhighlight lang="html">
<table border="1" rules="groups">
 
<colgroup align="left">
<col width="20" />
<col width="40" />
</colgroup>
<colgroup span="2" align="center" width="10" />
 
<tr>
<th> a </th> <th> b </th> <th> c </th> <th> d </th>
</tr>
<tr>
<td> 1 </td> <td> 2 </td> <td> 3 </td> <td> 4 </td>
</tr>
 
</table>
</syntaxhighlight>