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

HTML Referenzhandbuch

Vollständiges Verzeichnis der HTML-Tags

HTML: <tfoot> char-Eigenschaft

Die char-Eigenschaft legt die Ausrichtung des Inhalts des <tfoot>-Elements zu einem Zeichen fest. Die char-Eigenschaft kann nur verwendet werden, wenn die align-Eigenschaft auf "char" gesetzt ist. Der Standardwert für char ist das Dezimaltrennzeichen der aktuellen Sprache.

 HTML <tfoot> Tag

Online-Beispiel

Stellen Sie den Inhalt des <tfoot>-Elements in Ausrichtung mit dem Zeichen "." ein:

<table style="width:100%;" border="1">
    <tr>
      <th>Programming Language Books</th>
      <th>Price</th>
    </tr>
    <tr>
      <td align="right">PHP Basics Tutorial</td>
      <td>$30</td>
    </tr>
    <tr>
      <td align="left">JAVA Programming Ideas</td>
      <td>$80</td>
    </tr>
   <tfoot align="char" char=".">
      <tr>
        <td>Total</td>
        <td>$110</td>
      </tr>
  </tfoot> 
</table>
Test and see ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

Almost all mainstream browsers do not support the char attribute.

Definition and Usage

HTML5 The <tfoot> char attribute is not supported.

The char attribute specifies the alignment of the content within the <tfoot> 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

<tfoot char="character">

Attribute Value

ValueDescription
characterSpecify the character to align the content with.
 HTML <tfoot> Tag