Use of the abbr attribute in an HTML table:
The abbr
attribute specifies a shorter version of the content in a header cell.
Note: The abbr
attribute has no visual effect in ordinary web browsers, but can be used by screen readers.
<th abbr="text">
Value | Description |
---|---|
text | A short description of the header cell content |
Example:
HTML
<table>
<tr>
<th abbr="Make">Toy manufacturer</th>
<th abbr="Model">Vehicle model</th>
</tr>
<tr>
<td>Bruder Toys</td>
<td>Cross Country Vehicle</td>
</tr>
<tr>
<td>Bruder Toys</td>
<td>DHL Lorry</td>
</tr>
</table>
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |