HTML table markup tutorial (43): VALIGN attribute of the table header

HTML table markup tutorial (43): VALIGN attribute of the table header

In the vertical direction, you can set the alignment of the header, which can be top, center, or bottom.
Basic syntax
Syntax
Top means above, Middle means in the middle, and Bottom means below. File example: 10-41.htm
Set the vertical alignment of the table header.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-41.htm -->
03 <!-- File Description: Set the header to vertical alignment -->
04 <!-- ------------------------------ -->
05 <html>
06 <head>
07 <title>Set the vertical alignment of the header</title>
08 </head>
09 <body>
10 <h1>Mainstream Web Design Software</h1>
11 <table border=3 width=400 height=100 bordercolor=#336699 background=10-8.JPG
cellspacing=10 cellpadding=25>
12 <tr>
13 <th valign="Top">Web Graphics Software</th><th>Fireworks</th>
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> The 13th line of the file description defines the vertical alignment of the table header as top.

<<:  A brief discussion on VUE uni-app conditional coding and page layout

>>:  Creation, constraints and deletion of foreign keys in MySQL

Recommend

Solve the problem that ifconfig and addr cannot see the IP address in Linux

1. Install the Linux system on the virtual machin...

Solution to multiple 302 responses in nginx proxy (nginx Follow 302)

Proxying multiple 302s with proxy_intercept_error...

Linux kernel device driver system call notes

/**************************** * System call******...

How to simulate enumeration with JS

Preface In current JavaScript, there is no concep...

How to implement the prototype pattern in JavaScript

Overview The prototype pattern refers to the type...

HTML+CSS to achieve text folding special effects example

This article mainly introduces the example of rea...

Three common ways to embed CSS in HTML documents

The following three methods are commonly used to d...

Detailed explanation of the process of using GPU in Docker

Table of contents Download tf-gpu Build your own ...

Analysis of permissions required to run docker

Running Docker requires root privileges. To solve...

Use CSS variables to achieve cool and amazing floating effects

Recently, I found a fun hover animation from the ...

Sharing of experience on repairing MySQL innodb exceptions

A set of MySQL libraries for testing. The previou...

Basic usage and pitfalls of JavaScript array sort() method

Preface In daily code development, there are many...