While creating a web page, I realized that there are absolute and relative paths when setting the image path.
There is a picture called everyow.gif called C:\Document\Homepage\image.
Absolute path img src = "C:\Document\Homepage\image\everywow.gif"
Relative path img src="image/everywow.gif"
One thing to note here is that you use the symbol \ to display the path of a hard disk (local), such as C:\, where you can see the picture on your computer because you used the local path. However, no one else can see it. The reason for this is that you need to access your computer to view the file everywow.html that you have a lot of, but your computer is not a web server.
I just set the web page image in the relative path, but in this case, does the image become invisible when someone else uses the web page I made?
html php mysql
The image file created by the questioner must be serviced by the questioner using the web server so that we can see it.
Because the image created by the questioner is on the questioner pc, so I can only see it if I download the image. Wouldn't my PC need the same image to see it?
The relative path is the current open file standard.
567 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
573 Understanding How to Configure Google API Key
888 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
600 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.