YouTip LogoYouTip

Att Td Valign

HTML td valign Attribute | Rookie Tutorial

Rookie Tutorial -- Learning is not just technology, but also dreams!

Home HTML JAVASCRIPT CSS VUE REACT PYTHON3 JAVA C C++ C# AI GO SQL LINUX VS CODE BOOTSTRAP GIT Local Bookmarks

HTML Reference Manual

  • HTML Tag List (Alphabetical Order)
  • HTML Tag List (Functional Order)
  • HTML Global Attributes
  • HTML Events
  • HTML Canvas
  • HTML Audio/Video
  • HTML Valid DOCTYPES
  • HTML Color Names
  • HTML Color Picker
  • HTML Color Mixer
  • HTML Emoji
  • HTML Character Sets
  • HTML ASCII
  • HTML ISO-8859-1
  • HTML Symbols
  • HTML URL Encoding
  • HTML Language Codes
  • HTML Country/Region Codes
  • HTTP Messages
  • HTTP Methods
  • Px/Em Conversion Tool
  • Keyboard Shortcuts

HTML Tags

<!-->
<!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>
<main>
<map>
<mark>
<menu>
<meta>
<meter>
<nav>
<noframes>
<noscript>
<object>
<ol>
<optgroup>
<option>
<output>
<p>
<param>
<pre>
<html>
<picture>
<progress>
<q>
<rp>
<rt>
<ruby>
<s>
<samp>
<script>
<section>
<select>
<small>
<source>
<span>
<strike>
<strong>
<style>
<sub>
<summary>
<sup>
<table>
<tbody>
<td>
<textarea>
< template>
<tfoot>
<th>
<thead>
<time>
<title>
<tr>
<track>
<tt>
<u>
<ul>
<var>
<video>
<wbr>

HTML <tbody> Tag
HTML <textarea> Tag

HTML <td> valign Attribute

HTML <td> Tag

Example

HTML table with different vertical alignment cells:

Month Savings
January $100
February $80

Try it Β»

Browser Support

All major browsers support the valign attribute.

Definition and Usage

HTML5 does not support the <td> valign attribute. Please use CSS instead.

The valign attribute specifies the vertical alignment of content within a cell.

Syntax

<td valign="top|middle|bottom|baseline">

Attribute Values

Value Description
top Aligns content to the top.
middle Aligns content to the center (default value).
bottom Aligns content to the bottom.
baseline Aligns with the baseline. The baseline is a fictional line. In a line of text, most letters are based on the baseline. The baseline value sets all table data in the row to share the same baseline. The effect of this value is often the same as the bottom value. However, if the text has different font sizes, the baseline effect will be better. See the diagram below.

When text has different font sizes, bottom vs. baseline diagram:

valign="bottom"

valign="baseline"

HTML <td> Tag
HTML <tbody> Tag
HTML <textarea> Tag

Byte Ark Coding Plan

Supports mainstream large models such as Doubao, GLM, DeepSeek, Kimi, MiniMax, officially provided for stable and reliable service.

Β₯9.9/month
Subscribe Now

Xunfei Spark Coding Plan

Includes free model call quota, DeepSeek, GLM, Kimi, MiniMax, one-stop experience and deployment platform.

Β₯3.9/month
Subscribe Now

Share My Notes

Category Navigation

  • Python / Data Science
  • AI / Intelligent Development
  • Frontend Development
  • Backend Development
  • Databases
  • Mobile Development
  • DevOps / Engineering
  • Programming Languages
  • Computer Fundamentals
  • XML / Web Service
  • .NET
  • Website Construction

Online Examples

  • HTML Examples
  • CSS Examples
  • JavaScript Examples
  • Ajax Examples
  • jQuery Examples
  • XML Examples
  • Java Examples

Character Sets & Tools

  • HTML Character Set Settings
  • HTML ASCII Character Set
  • JS Obfuscation/Encryption
  • PNG/JPEG Image Compression
  • HTML Color Picker
  • JSON Formatter Tool
  • Random Number Generator

Latest Updates

  • docker compose ...
  • GraphRAG Getting Started Tutorial
  • Dart Enums and Symbols
  • Dart Unit Testing
  • Dart Concurrency and Iso...
  • Dart Stream
  • Dart Asynchronous Programming

Site Information

  • Feedback
  • Disclaimer
  • About Us
  • Article Archives

Follow WeChat

My Favorites

  • Mark Article
  • Browsing History
  • Clear All

No records yet

← Att Td WidthAtt Td Scope β†’