假设我在HTML文件中使用data URI嵌入了一张图片(例如
<img src="data:image/png;base64,...." />
),有没有办法多次显示该图片,后续的图片引用初始图片,而不必重复使用data URI?例如(虽然不好):<html><head>...</head>
<body>
<p>Here's my car:</p>
<img id="img1" src="data:image/png;base64,..." />
<p>Some details about my car</p>
<p>Did I mention I just bought a car?</p>
<p>And here it is again:</p>
<img something_to_show_another_image_again="#img1" />
...
</body>
</html>