programming-examples/js/Others/'abbr' Property.js

23 lines
538 B
JavaScript
Raw Normal View History

2019-11-15 12:59:38 +01:00
<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> http://html-css.happycodings.com/ </td>
<td> http://cplusplus.happycodings.com/ </td>
</tr>
<tr>
<td> http://javascript.happycodings.com/ </td>
<td> http://csharp.happycodings.com/ </td>
</tr>
</table>
</body>
</html>