SlideServe
Menu
Préférences
© SlideServe · v2026

Understanding HTML Tables: Structure and Spanning Cells

sacha-cotton avatar
7 diapositives · 214 Views · Oct 31, 2014

This guide covers the fundamental aspects of HTML tables, which are essential for structuring content on a web page. A table consists of rows and cells, where each row is defined using the `` tag and cells with the `` tag. Learn how to create tables with specific layouts, including how to use the colspan and rowspan attributes to manipulate cell spanning across columns and rows. Practical examples are provided to help you visualize how to implement these concepts effectively in your web designs.

Understanding HTML Tables: Structure and Spanning Cells - slide 1
01 / 7Understanding HTML Tables: Structure and Spanning Cells
1 / 17

Télécharger la présentation

Understanding HTML Tables: Structure and Spanning Cells
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. HTML (2) HyperText Markup Language Computing

  2. Tables • The layout of a web page is created by using a table <table> • A table has a number of rows <tr> • ..and each row has a number of cells <td> Computing

  3. Table Example <table> <tr> <td>Hello</td> <td></td> </tr> <tr> <td></td> <td>People</td> </tr> <tr> <td>Smee</td> <td></td> </tr></table> HTML code for this table would be… Computing

  4. Table Example 2 A cell may span across several columns… <table> <tr> <td colspan=“3” align=“center”>Hello World</td> </tr> <tr> <td>One</td> <td>Two</td> <td>Three</td> </tr></table> Computing

  5. HTML Challenge 1 • Try to output this table on a web page… Computing

  6. Table Example 3 • Sometimes cells may span several rows… <table> <tr> <td rowspan=“3”>Cell spans 3 rows</td> <td>One</td> </tr> <tr> <td>Two</td> </tr> <tr> <td>Three</td> </tr></table> Use the rowspan attribute… Computing

  7. HTML Challenge 2 • Display this table on a web page: Computing