HTML thead char attribute
Examples
The <thead> element in the content and character "M" Alignment:
<table border="1"
width="100%">
<thead align="char" char="M">
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
</thead>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$80</td>
</tr>
</table>
<thead align="char" char="M">
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
</thead>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$80</td>
</tr>
</table>
try it"
Browser Support
Almost all of the major browsers do not support char attributes.
Definition and Usage
HTML5 does not support the <thead> char attributes.
char attribute specifies the <thead> element content relative alignment of a character.
Only if the align attribute set to "char" when to use char property.
The default value is the decimal point character char attribute the current page language.
grammar
<thead char="character">
Property Value
值 | 描述 |
---|---|
character | 规定将内容与之对齐的字符。 |
HTML <thead> tag