Very very new to all of this, When I use image in HTML code and try to open it using VS Code Live Server it doesn't show the image but it works properly when I open the file without LS. I have my root folder called code playground and my image is in sub-folder called images and the HTML code is the sub-folder called code. When I use image in HTML code and try to open it using VS Code Live Server it doesn't show the image but it works properly when I open the file without LS. Here is my HTML code:
<img src="../images/crab.jpg">
It may be from an ad blocker like Adblock.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.