开发者

Firefox: how to show local image with relative path

开发者 https://www.devze.com 2022-12-12 23:54 出处:网络
I want to put an image with relative path to local file. Firefox doesn\'t seem to accept something like

I want to put an image with relative path to local file.

Firefox doesn't seem to accept something like

<img src=images/test.gif>

What's the syntax ?开发者_如何学运维


Try:

<img src="./images/test.gif" />

but have you checked that the image exists at that location?

0

精彩评论

暂无评论...
验证码 换一张
取 消