Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Table Element | Advanced Concepts
Introduction to HTML

bookTable Element

The <table> element in HTML is used to create data tables on a web page.

index.html

index.html

copy
  • The <table> element defines the start of the table;
  • The <tr> element defines a row in the table;
  • The <td> element defines a cell in the table;
  • The <th> element is similar to the <td> element but is used to define a table header cell, typically displayed in bold font and centered within the cell.

You can also use various attributes and elements to customize the layout of your table. For example, the colspan attribute allows you to merge multiple columns into a single cell, and the rowspan attribute allows you to merge multiple rows into a single cell.

index.html

index.html

copy

Task

Fill in the below given HTML table that displays a list of movies with the following columns: "Title", "Director", "Year Released", and "Rating".

  1. Add the appropriate table headers.
  2. Fill in the tags needed.
  3. Add a new row containing any information you want.

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 5. Chapitre 1

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

Awesome!

Completion rate improved to 3.45

bookTable Element

Glissez pour afficher le menu

The <table> element in HTML is used to create data tables on a web page.

index.html

index.html

copy
  • The <table> element defines the start of the table;
  • The <tr> element defines a row in the table;
  • The <td> element defines a cell in the table;
  • The <th> element is similar to the <td> element but is used to define a table header cell, typically displayed in bold font and centered within the cell.

You can also use various attributes and elements to customize the layout of your table. For example, the colspan attribute allows you to merge multiple columns into a single cell, and the rowspan attribute allows you to merge multiple rows into a single cell.

index.html

index.html

copy

Task

Fill in the below given HTML table that displays a list of movies with the following columns: "Title", "Director", "Year Released", and "Rating".

  1. Add the appropriate table headers.
  2. Fill in the tags needed.
  3. Add a new row containing any information you want.

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 5. Chapitre 1
some-alt