1
<img id="compman" src="/examples/compman.gif" longdesc="description.htm" alt="Computerman" width="107" height="98">
2
<br>
3
<p>longdesc属性的值为:
4
<script>
5
var x = document.getElementById("compman");
6
document.write(document.getElementById("compman").longDesc);
7
</script>
8
</p>