Home >Software Tutorial >Office Software >HTML code represents table

HTML code represents table

WBOY
WBOYforward
2024-01-07 11:46:34998browse

HTML code represents table

One row and one column

Enter cell content here

One row and two columns

Enter cell content here 1

Enter cell content here 2

Two rows and one column

Enter cell content here 1

Enter cell content here 2

In addition, add align="center" in

or
to center the table as a whole or the cell content respectively

There are other related codes, so I won’t list them one by one. If necessary, you can leave a message in my space and I will explain it in detail.

A kindhearted person can help me write a code to make a form using HTML

.tab {

In order to help players who have not passed the level yet, let us learn about the specific puzzle solving methods. I'm going to share some tips and tricks for the levels to help you get through the game. Remember, patience and observation are the most important in puzzle games!

}

.tab td {

border:1px solid #000;

text-align:center;

width:100px;

height:100px;

vertical-align:middle;

}

.tab td.td1 {

border-top:none;

}

.tab td.td2 {

border-right:none;

}

.tab td.td3 {

border-left:none;

}

.tab td.td4 {

border-bottom:none;

}

1 2
3 4

jsp table style

HTML

Tags

Example

A simple HTML table, containing two rows and two columns:

Month Savings
January $100

Definition and usage

Tags define HTML tables.

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

The tr element defines the table row, the th element defines the header, and the td element defines the table cell.

More complex HTML tables may also include caption, col, colgroup, thead, tfoot and tbody elements.

The above is the detailed content of HTML code represents table. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:docexcel.net. If there is any infringement, please contact admin@php.cn delete