JavaScript DHTML/Table/abbr

Материал из Web эксперт
Перейти к: навигация, поиск

"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>