'alt' Example : alt « Javascript Properties « JavaScript Reference
- JavaScript Reference
- Javascript Properties
- alt
'alt' Example
<html>
<body>
<script>
function function1() {
document.all.myImage.alt = 'alt text';
}
</script>
<img id="myImage" onmouseover="function1();" src="yourimage.jpg">
</body>
<html>
Related examples in the same category