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
The database enables slow query logs Modify the c...
This article example shares the specific code of ...
Querying the database SELECT * FROM `student` Que...
Source code preview: https://github.com/jdf2e/nut...
introduction The company's recent Vue front-e...
Let's look at the code first: ALTER TABLE rep...
Here we mainly use spring-boot out of the box, wh...
Table of contents 1. What is JSONP 2. JSONP cross...
1. Function: xargs can convert the data separated...
introduction: There are a lot of information and ...
The so-called three-column adaptive layout means ...
Table of contents Structural inheritance (impleme...
This article example shares the specific code of ...
Using ajax to implement form submission without re...
The principle of uploading pictures on the front ...