[HTML] Aiutino su costruzione tabella :)

Domenico2013

Utente Attivo
6 Ago 2013
178
0
16
Buongiorno a tutti del forum, ho avuto una leggera amnesia sulle tabelle :)
Ho questa tabella in output, vedere allegato. Non so come modificare la porzione di codice per scrivere il 2 sotto la S e il 3 sotto la D. Vi posto il codice.
Grazie.
Codice:
<table border="1">

<thead>
<tr><th></th><th>V</th><th>S</th><th>D</th></tr>
</thead>

<tbody>
<tr>
<td>Grado Cognome Nome</td>
<td>


<table>

<tbody><tr><td>1</td></tr></tbody>

</table>
</td>
</tr>
</tbody>

</table>
 

Allegati

  • tabella.PNG
    tabella.PNG
    1,7 KB · Visite: 403
provo ad ampliare il tuo esempio, sperando ti sia utile
HTML:
<table border="1">
  <thead>
    <tr>
      <th>Grado</th>
      <th>Cognome Nome</th>
      <th>V</th>
      <th>S</th>
      <th>D</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Ten</td>
      <td>Rossi Mario</td>
      <td>1</td>
      <td>2</td>
      <td>3</td>
    </tr>
    <tr>
      <td>Cap</td>
      <td>Bianchi Roberto</td>
      <td>4</td>
      <td>5</td>
      <td>6</td>
    </tr>
  </tbody>
</table>

upload_2019-11-6_11-27-54.png
 
HTML:
<table border="1">
  <tr>
    <td>&nbsp;</td>
    <td>V</td>
    <td>S</td>
    <td>D</td>
  </tr>
  <tr>
    <td>Grado Cognome Nome</td>
    <td>1</td>
    <td>2</td>
    <td>3</td>
  </tr>
</table>
 
Ragazzi, grazie mille per la tempestività e precisione. Davvero ho avuto un vuoto di memoria, che vergogna :(
Marino51, il tuo esempio va benissimo :)
 

Discussioni simili