'aLink' Example : aLink « Javascript Properties « JavaScript Reference
- JavaScript Reference
- Javascript Properties
- aLink
'aLink' Example
<html>
<body onLoad="goColor();">
<script>
function goColor() {
document.body.aLink = "red";
}
</script>
<a href="http://www.java2s.com/">java2s.com (click to turn red)</a>
</body>
</html>
Related examples in the same category