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

How to set a dotted border in html

Use CSS styles and HTML tag elements In order to ...

CSS3 achieves cool sliced ​​image carousel effect

Today we will learn how to use CSS to create a co...

Detailed steps to install MySQL 5.7 via YUM on CentOS7

1. Go to the location where you want to store the...

VMWare Linux MySQL 5.7.13 installation and configuration tutorial

This article shares with you the tutorial of inst...

IIS7 IIS8 reverse proxy rule writing, installation and configuration method

Purpose: Treat Station A as the secondary directo...

HTML tag dl dt dd usage instructions

Basic structure: Copy code The code is as follows:...

MySQL 5.7.18 Archive compressed version installation tutorial

This article shares the specific method of instal...

Solution to mysql login warning problem

1. Introduction When we log in to MySQL, we often...

An article to help you learn CSS3 picture borders

Using the CSS3 border-image property, you can set...

Super simple qps statistics method (recommended)

Statistics of QPS values ​​in the last N seconds ...

mysql5.7.19 zip detailed installation process and configuration

MySQL v5.7.19 official version (32/64 bit install...

Will Update in a Mysql transaction lock the table?

Two cases: 1. With index 2. Without index Prerequ...

Solution to elementui's el-popover style modification not taking effect

When using element-ui, there is a commonly used c...