If the html file is in the qw folder of the c drive and the image is in another folder of the c drive, how can I reference this image in the html file? ? ? Big sisters and brothers ask for solutions
../folder name/xxx.png
This is the same as src It has nothing to do with the usage. It's actually a problem with the image path.
There are several ways:
1. Absolute path method. The premise is that your web server can access the path of the image
2. Relative path method. Similarly, you need to ensure that the server can access the image
3. Web method. Such as http://www.test.com/aa.jpg
There are several ways to express
There are several ways to express