I have an html page. All the images in my "pages and images" folder when the page is in this folder, the images are displayed, and when I moved the page to the "Mathematics" folder, the pictures did not cease to appear.
Please, help!
I have an html page. All the images in my "pages and images" folder when the page is in this folder, the images are displayed, and when I moved the page to the "Mathematics" folder, the pictures did not cease to appear.
Please, help!
Try writing paths to pictures from the root, for example:
<img src="/images/someimage.jpg"/> file://localhost/C:/images/someimage , but in this case everything will be lost again when transferred to another computer ...) - DL_Your problem is that you do not understand the point. src javascript'a includes the script file. Pictures in the menu can be linked using css. But if you are still using img, then there may be several problems: first, Russian characters in the url, and second, the space character in the url. All this needs to be encoded. For example, the space code is% 20, if I'm not mistaken. Conclusion - if possible, do not use the space character in the folder name and use English in the name. And your first situation is related to the fact that the browser, when having problems with the address, "searches" the object in the directory where the page is located. So the pictures were displayed.
Source: https://ru.stackoverflow.com/questions/39109/
All Articles
<img src="../images/img">example, look everything<img src="/images/img"><br> PS: learn mate -.- - Zowie<script type="text/javascript" src="/pages and images/jscookmenu.js"></script> <link rel="stylesheet" href="/pages and images/ThemeRibbon/theme.css" type="text/css"> <script type="text/javascript" src="/pages and images/ThemeRibbon/theme.js"></script>- Karlos Dergasrcjavascript'a andsrcimages have that are not displayed to you? ^^ - Zowie