'abbr' Example : abbr « Javascript Properties « JavaScript Reference

'abbr' Example

    
<html>
<head>
<script language="JavaScript">
function function1() {
    document.all.myTableHeader.abbr = "Abbreviation";
}
</script>
</head>
<body onLoad="function1();">
<table width="428">
    <th id="myTableHeader" colspan="2">This is the table heading </th>
    <tr>
        <td> Cell 1 content </td>
        <td> Cell 2 content </td>
    </tr>
    <tr>
        <td> Cell 3 content </td>
        <td> Cell 4 content </td>
    </tr>
</table>
</body></html>

    
      
      








Related examples in the same category

1.'abbr' Syntax and Note
2.'abbr' is applied to