Home > Software Tutorial > Office Software > How to create a table with 3 rows and 2 columns using HTML tags

How to create a table with 3 rows and 2 columns using HTML tags

PHPz
Release: 2024-01-05 20:25:20
forward
907 people have browsed it

How to write a table with three rows and two columns using HTML tags

//Here you can set the name of the row

//Here you can set the name of the row

//Here you can set the name of the row

Column name Column name
Column name Column name
Column name Column name

represents row labels; represents column labels.

How to create a table with 3 rows and 2 columns using HTML tags

Extended information:

Use HTML code to create a table with two rows and two columns:

Month Savings
January $100

Note: The tags in the table in HTML all appear in pairs, starting and ending.

What tags does the html table contain?

A simple HTML table consists of the table element and one or more tr, th or td elements.

For example:

month income
January $100

Description: The tr element defines the table row, the th element defines the header, and the td element defines the table unit.

Complex HTML tables include caption, col, colgroup, thead, tfoot and tbody elements.

The above is the detailed content of How to create a table with 3 rows and 2 columns using HTML tags. For more information, please follow other related articles on the PHP Chinese website!

source:docexcel.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template