Since I've pointed out that there is almost always an easier way to perform a task, I'll now show you that there's a much easier way to replace the top hat image with the rabbit image.
2
这里首先用兔子的图片替换页面中原有的图片(再看看图1),如图2所示。
In this case, begin by replacing the image in the existing page (refer back to Figure 1) with an image of a rabbit, like that shown in Figure 2.
3
也就是希望(用带兔子的新图片)替换的img元素,因此将HTML改为清单2的形式。
That's the img element you want to replace (with a new image containing the rabbit); so you need to change our HTML to look like Listing 2.