HTML td char Attribute
-- Learning not just technology, but also dreams!
HTML Reference Manual
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 Blend
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 Tool
Keyboard Shortcuts
HTML char Attribute
Example
Align the content of the "Savings" cell with the "." character:
<table border="1">
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td align="char" char=".">$100.00</td>
</tr>
<tr>
<td>February</td>
<td align="char" char=".">$10.00</td>
</tr>
</table>
Browser Support:
Almost all mainstream browsers do not support the char attribute.
Definition and Usage:
The char attribute is not supported in HTML5 for the <td> element.
The char attribute specifies the alignment of content within a cell relative to a specific character.
The char attribute can only be used when the align attribute is set to "char".
The default value of the char attribute is the decimal point character of the current page language.
Syntax
<td char="character">
Attribute Values
Value
Description
character
Specifies the character to align the content with.
Related Tags:
- HTML
Tag
- HTML Tag
- HTML
Byte Ark Coding Plan
Supports major large models such as Doubao, GLM, DeepSeek, Kimi, MiniMax, official direct supply, stable and reliable.
Β₯9.9 / month Subscribe Now
Xunfei Xingchen Coding Plan
Includes free model call quota, supports DeepSeek, GLM, Kimi, MiniMax β a one-stop experience and deployment platform.
Β₯3.9 / month Subscribe Now
Category Navigation
Advertisement
Explore deeper into:
Example
Align the content of the "Savings" cell with the "." character:
<table border="1">
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td align="char" char=".">$100.00</td>
</tr>
<tr>
<td>February</td>
<td align="char" char=".">$10.00</td>
</tr>
</table>
Browser Support:
Almost all mainstream browsers do not support the
Almost all mainstream browsers do not support the
char attribute.
Definition and Usage:
The
The
The
The default value of the
The
char attribute is not supported in HTML5 for the <td> element.The
char attribute specifies the alignment of content within a cell relative to a specific character.The
char attribute can only be used when the align attribute is set to "char".The default value of the
char attribute is the decimal point character of the current page language.
Syntax
<td char="character">
Attribute Values
| Value | Description |
|---|---|
character |
Specifies the character to align the content with. |
Related Tags:
- HTML
Tag - HTML Tag
- HTML
Byte Ark Coding Plan
Supports major large models such as Doubao, GLM, DeepSeek, Kimi, MiniMax, official direct supply, stable and reliable.
Β₯9.9 / month Subscribe Now
Xunfei Xingchen Coding Plan
Includes free model call quota, supports DeepSeek, GLM, Kimi, MiniMax β a one-stop experience and deployment platform.
Β₯3.9 / month Subscribe Now
Category Navigation
Advertisement
Explore deeper into:
- HTML Tag
YouTip