HTML table tag tutorial (26): cell tag

HTML table tag tutorial (26): cell tag

The attributes of the <TD> tag are used to set the properties of a cell in the table.
Table <TD> tag attributes
Property Description ALIGN Horizontal alignment of cell content VALIGN Vertical alignment of cell content BGCOLOR Background color of cell BACKGROUND Background image of cell BORDERCOLOR Border color of cell BORDERCOLORLIGHT Light border color of cell BORDERCOLORDARK Dark border color of cell WIDTH Width of cell HEIGHT Height of cell
File example: 10-24.htm
Set the cell.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-24.htm -->
03 <!-- File Description: Set Cell-->
04 <!-- ------------------------------ -->
05 <HTML>
06 <HEAD>
07 <TITLE>Setting cells</TITLE>
08 </HEAD>
09 <BODY>
10 <H1>Mainstream web design software</H1>
11 <TABLE BORDER=3 WIDTH=400 HEIGHT=100 Bordercolor=#336699>
12 <TR>
13 <TD Bgcolor=#00FFFF>Web Graphics Software</TD><TD>Fireworks</TD>
14 </TR>
15 <TR>
16 <TD>Web page creation software</TD><TD>Dreamweaver</TD>
17 </TR>
18 <TR>
19 <TD>Web animation software</TD><TD>Flash</TD>
20 </TR>
21 </TABLE>
22 </BODY>
23 </HTML>
File Description <br />The cell tag <TD> is used in the above code.

<<:  Detailed explanation of Vue routing router

>>:  Detailed example of remotely connecting to Docker using TLS encrypted communication

Recommend

Implementation of MySQL Multi-version Concurrency Control MVCC

Table of contents What is MVCC MVCC Implementatio...

Implementation code of jquery step progress axis plug-in

A jQuery plugin every day - step progress axis st...

JS cross-domain XML--with AS URLLoader

Recently, I received a requirement for function ex...

Summary of some tips for bypassing nodejs code execution

Table of contents 1. child_process 2. Command exe...

Six methods for nginx optimization

1. Optimize Nginx concurrency [root@proxy ~]# ab ...

MySQL data insertion efficiency comparison

When inserting data, I found that I had never con...

How to create a responsive column chart using CSS Grid layout

I have been playing around with charts for a whil...

Centos7.3 How to install and deploy Nginx and configure https

Installation Environment 1. gcc installation To i...

MySQL5.7 master-slave configuration example analysis

MySQL5.7 master-slave configuration implementatio...

Solution to the problem of failure to insert emoji expressions into MySQL

Preface I always thought that UTF-8 was a univers...

Several ways to encrypt and decrypt MySQL (summary)

Table of contents Written in front Two-way encryp...

Summary of commonly used time, date and conversion functions in Mysql

This article mainly summarizes some commonly used...