Local images cannot be displayed when viewed in a browser"/> Local images cannot be displayed when viewed in a browser">
Home >Web Front-end >HTML Tutorial >Local images cannot be displayed when viewed in a browser_html/css_WEB-ITnose
How to solve it?
This is not possible either
Please help experts
Use relative paths, otherwise moving your html files to other computers will basically be ineffective. And if the picture and the html file are in the same folder, the picture will hang as soon as the folder is moved, and the address can only be modified.
Also, what you posted is completely wrong. Are you sure you did it right?
The page you opened in the browser
Is the url fill://xxx.html?
The path is wrong! ! ! !
Use relative paths to put your html files and images under the same path, and then directly add src="image name.jpg"
Change to
If it still doesn’t work, check if it’s a picture problem
Example:
This is OK displayed.
Did you write the path yourself? When you install Dreamweaver and set src=, it will select an image. After you select the image, it will generate the correct path for you.
Did you write the path yourself? When you install Dreamweaver and set src=, it will select an image. After you select the image, it will generate the correct path for you.
Path problem...
How did the original poster solve it? I also encountered a similar situation!