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

Query the data of the day before the current time interval in MySQL

1. Background In actual projects, we will encount...

Some common mistakes with MySQL null

According to null-values, the value of null in My...

React Native startup process detailed analysis

Introduction: This article takes the sample proje...

How to load third-party component libraries on demand in Vue3

Preface Take Element Plus as an example to config...

View the dependent libraries of so or executable programs under linux

View the dependent libraries of so or executable ...

CSS to achieve floating customer service effect

<div class="sideBar"> <div>...

Solution to Tomcat server failing to open tomcat7w.exe

I encountered a little problem when configuring t...

Zen HTML Elements Friends who use zen coding can collect it

html ¶ <html></html> html:xml ¶ <h...

Network configuration of Host Only+NAT mode under VirtualBox

The network configuration of Host Only+NAT mode u...

Detailed explanation of vue keepAlive cache clearing problem case

Keepalive is often used for caching in Vue projec...

Solve the problem that vue project cannot carry cookies when started locally

Solve the problem that the vue project can be pac...

Use of provide and inject in Vue3

1. Explanation of provide and inject Provide and ...

Detailed explanation of CocosCreator MVC architecture

Overview This article will introduce the MVC arch...

Some experience in building the React Native project framework

React Native is a cross-platform mobile applicati...

Advanced explanation of javascript functions

Table of contents Function definition method Func...