Img tags do not display pictures in Firefox

as the title: the img tag does not display pictures in Firefox! Other browsers can
this is my code:

<!DOCTYPE html>
<html>
    <head>
    <meta charset="utf-8">
        <title></title>
    </head>
    <body>
        <img src="D:\\\PS\\5658898.jpg" width="200" height="300"/>
    </body>
</html>

display as

< H2 > < / H2 >

problem solved!
just add file:/ to the path

Mar.26,2021

solved, just add file:/ in front of the path


it is best not to use the Chinese character path


to replace the backslash with a forward slash, or become a double backslash to try


each browser has a different form of expression, you change the image path according to the previous answer. If all browsers behave as you want, the front end will be much easier


html. Try not to use the local absolute path. It's not cost-effective for an application like yours to upload to a website.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b31f2a-2bdef.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b31f2a-2bdef.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?