English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Referenzhandbuch

Vollständiges Verzeichnis der HTML-Tags

HTML: <thead> char-Eigenschaft

HTML: <thead> char-Eigenschaft definiert die Ausrichtung der Inhalte innerhalb des <thead>-Elements gegenüber dem Zeichen, kann nur verwendet werden, wenn die align-Eigenschaft auf "char" gesetzt ist. Der Standardwert für char ist das Dezimaltrennzeichen der aktuellen Sprache.

 HTML <thead> Tag

Online-Beispiel

Die Inhalte des <thead>-Elements mit dem Zeichen "M" ausrichten:

<table style="width:100%;" border="1">
<thead align="char" char="B">
  <tr>
    <th height="50>Baby Doll Manufacturer</th>
    <th height="50>Baby Doll Type</th>
  </tr>
  </thead>
  <tr>
    <td>Barbie Princess</td>
    <td>6Joint Barbie Doll</td>
  </tr>
  <tr>
    <td>Barbie Princess</td>
    <td>12Joint Barbie Doll</td>
  </tr>
</table>
Test See ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

Almost all mainstream browsers do not support the char attribute.

Definition and Usage

HTML5 The <thead> char attribute is not supported.

The char attribute specifies the alignment of the content within the <thead> element with the character.
The char attribute can only be used when the align attribute is set to 'char'.
The default value of char is the decimal point character of the current language.

Syntax

<thead char="character">

Attribute Value

ValueDescription
characterSpecifies the character to align the content with.
 HTML <thead> Tag