1
<img id="mifengjc1" border="0" src="/examples/klematis.jpg" width="150" height="113">
2
<img id="mifengjc2" border="0" src="/examples/klematis2.jpg" width="152" height="128">
3
<p>第一个图像的ID:
4
<script>
5
document.write(document.images[0].id);
6
</script>
7
</p>