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
1. Background In actual projects, we will encount...
According to null-values, the value of null in My...
Introduction: This article takes the sample proje...
Preface Take Element Plus as an example to config...
View the dependent libraries of so or executable ...
<div class="sideBar"> <div>...
I encountered a little problem when configuring t...
html ¶ <html></html> html:xml ¶ <h...
The network configuration of Host Only+NAT mode u...
Keepalive is often used for caching in Vue projec...
Solve the problem that the vue project can be pac...
1. Explanation of provide and inject Provide and ...
Overview This article will introduce the MVC arch...
React Native is a cross-platform mobile applicati...
Table of contents Function definition method Func...