HTML <table> Tag
HTML <td> Tag
HTML <tbody> align Attribute
HTML <tbody> Tag
Example
Right-align content in the <tbody> element:
| Month |
Savings |
| January |
$100 |
| February |
$80 |
Try it yourself »
Browser Support
All major browsers support the align attribute.
Note: IE cannot correctly handle the "justify" value, IE will process it as centered.
Note: Almost no browsers can correctly handle the "char" value.
Definition and Usage
HTML5 does not support the <tbody> align attribute. Please use CSS instead.
The align attribute specifies the horizontal alignment of the content in the <tbody> element.
Syntax
<tbody align="left|right|center|justify|char">
Attribute Values
| Value |
Description |
| left |
Left-align content (default value for table data). |
| right |
Right-align content. |
| center |
Center-align content (default value for th element). |
| justify |
Stretch the lines so that each line has equal width (like in newspapers and magazines). |
| char |
Align the content to the specified character. |
HTML <tbody> Tag
HTML <table> Tag
HTML <td> Tag
ByteArk Coding Plan
Support for Doubao, GLM, DeepSeek, Kimi, MiniMax and other mainstream large models, official direct supply, stable and reliable.
¥9.9
/ month
Subscribe now
iFlytek Xingchen Coding Plan
Includes free model call quota, DeepSeek, GLM, Kimi, MiniMax, one-stop experience and deployment platform.
¥3.9
/ month
Subscribe now
Share Notes
Category Navigation
Python / Data Science
AI / Intelligent Development
Front-end Development
Back-end Development
Database
Mobile Development
DevOps / Engineering
Programming Languages
Computer Fundamentals
XML / Web Service
.NET
Website Building
Advertisement
In-depth Exploration
Web Browsers
Development Tools
Programming
Scripts
Web Design & Development
Scripting Languages
Web Services
Computer Science
HTML Tag List (Alphabetical)
HTML Tag List (Alphabetical)
HTML Tag List (By Function)
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 Converter
Keyboard Shortcuts
HTML Tags
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 Flow
·Dart Asynchronous Programming
Site Information
·Feedback
·Disclaimer
·About Us
·Article Archive
Follow WeChat
Copyright © 2013-2026 .com All Rights Reserved. ICP License:
My Favorites
Mark Article
Browsing History
Clear All
No records