HTML标签
                
                    
                            <!-->
                        
                            <!DOCTYPE>
                        
                            <a>
                        
                            <abbr>
                        
                            <acronym>
                        
                            <address>
                        
                            <applet>
                        
                            <area>
                        
                            <article>
                        
                            <aside>
                        
                            <audio>
                        
                            <b>
                        
                            <base>
                        
                            <basefont>
                        
                            <bdi>
                        
                            <bdo>
                        
                            <big>
                        
                            <blockquote>
                        
                            <body>
                        
                            <br>
                        
                            <button>
                        
                            <canvas>
                        
                            <caption>
                        
                            <center>
                        
                            <cite>
                        
                            <code>
                        
                            <col>
                        
                            <colgroup>
                        
                            <command>
                        
                            <datalist>
                        
                            <dd>
                        
                            <del>
                        
                            <details>
                        
                            <dfn>
                        
                            <dialog>
                        
                            <dir>
                        
                            <div>
                        
                            <dl>
                        
                            <dt>
                        
                            <em>
                        
                            <embed>
                        
                            <fieldset>
                        
                            <figcaption>
                        
                            <figure>
                        
                            <font>
                        
                            <footer>
                        
                            <form>
                        
                            <frame>
                        
                            <frameset>
                        
                            <head>
                        
                            <header>
                        
                            <hgroup>
                        
                            <h1> - <h6>
                        
                            <hr>
                        
                            <i>
                        
                            <iframe>
                        
                            <img>
                        
                            <input>
                        
                            <ins>
                        
                            <kbd>
                        
                            <keygen>
                        
                            <label>
                        
                            <legend>
                        
                            <li>
                        
                            <link>
                        
                            <map>
                        
                            <mark>
                        
                            <menu>
                        
                            <meta>
                        
                            <meter>
                        
                            <nav>
                        
                            <noframes>
                        
                            <noscript>
                        
                            <object>
                        
                            <ol>
                        
                            <optgroup>
                        
                            <option>
                        
                            <output>
                        
                            <p>
                        
                            <param>
                        
                            <pre>
                        
                            <html>
                        
                            <progress>
                        
                            <q>
                        
                            <rp>
                        
                            <rt>
                        
                            <ruby>
                        
                            <s>
                        
                            <samp>
                        
                            <script>
                        
                            <section>
                        
                            <select>
                        
                            <small>
                        
                            <source>
                        
                            <span>
                        
                            <strike>
                        
                            <strong>
                        
                            <style>
                        
                            <sub>
                        
                            <summary>
                        
                            <sup>
                        
                            <table>
                        
                            <tbody>
                        
                            <td>
                        
                            <textarea>
                        
                            <tfoot>
                        
                            <th>
                        
                            <thead>
                        
                            <time>
                        
                            <title>
                        
                            <tr>
                        
                            <track>
                        
                            <tt>
                        
                            <u>
                        
                            <ul>
                        
                            <var>
                        
                            <video>
                        
                            <wbr>
                        
                
            valign
HTML <tr> valign 属性
实例
带有不同垂直对齐行的 HTML 表格:
		<table border="1" 
	style="height:200px">
<tr valign="middle">
<th>Month</th>
<th>Savings</th>
</tr>
<tr valign="bottom">
<td>January</td>
<td>$100</td>
</tr>
</table>
<tr valign="middle">
<th>Month</th>
<th>Savings</th>
</tr>
<tr valign="bottom">
<td>January</td>
<td>$100</td>
</tr>
</table>
浏览器支持
	



 
 
所有主流浏览器都支持 valign 属性。
定义和用法
HTML5 不支持 <tr> valign 属性。请使用 CSS 代替。
valign 属性规定表格行中的内容的垂直对齐方式。
语法
		<tr valign="top|middle|bottom|baseline">
	
属性值
| 值 | 描述 | 
|---|---|
| top | 对内容进行上对齐。 | 
| middle | 对内容进行居中对齐(默认值)。 | 
| bottom | 对内容进行下对齐。 | 
| baseline | 与基线对齐。基线是一条虚构的线。在一行文本中,大多数字母以基线为基准。baseline 值设置行中的所有表格数据都分享相同的基线。该值的效果常常与 bottom 值相同。不过,如果文本的字号各不相同,那么 baseline 的效果会更好。请看下面的图示。 | 
当文本的字号不同时,bottom vs. baseline 图示:
	 valign="bottom"
 valign="bottom"
	 valign="baseline"
 valign="baseline"