HTML Attributes

HTML abbr attribute

Short alternative for a table header when a compact label is useful, for example in assistive technology. Applicable elements include: <th>. Check each element’s value rules.

Formal Syntax & Structure

html syntaxhtml
abbr="Qty"

Parameters & Attributes

NameTypeDescription
abbrtextShort alternative for a table header when a compact label is useful, for example in assistive technology.

Working Example

Example Snippethtml
<table>  <tr>    <th abbr="Qty" scope="col">Quantity</th>  </tr>  <tr>    <td>4</td>  </tr></table>
HTML Reference