html - Linking to a file in a folder by clicking on an image -
Actually, I'm trying to link to 2 local files uploaded to a single host that is browsing the webpage. The webpages are gone. It should be by clicking on one of these two images - what am I doing wrong? I can not click on the images to open the file in a new tab.
These are my folders -
This is the code -
& lt; Div class = "wrapper" & gt; & Lt; a href = "My India / Index" target = "_ blank" & gt; & Lt; img src = "picture / slide 3 / my india page" data-stellar-proportion = "1.8" data-stellar vertical-offset = "-200" alt = "" & gt; & Lt; / A & gt; & Lt; / Div & gt; & Lt; Div class = "wrapper" & gt; & Lt; a href = "pizzacat / index.html" target = "_ blank" & gt; & Lt; Img src = "picture / slide 3 / pizza" data-stellar-proportion = "1.8" data-stellar vertical-offset = "-35" alt = "" & gt; & Lt; / A & gt; & Lt; / Div & gt;
This is the code that should work:
& Lt; Div class = "wrapper" & gt; & Lt; a href = "pizzacat / index.html" target = "_ blank" & gt; & Lt; Img src = "picture / slide3 / my india page" data-stellar-proportion = "1.8" data-stellar-vertical-offset = "-200" alt = "" & gt; & Lt; / A & gt; & Lt; / Div & gt; ... And make sure these details:
- All files should be readable by Apache online (or whatever website you are using) / Li>
- All names and folders are case-sensitive
- Look, if you do not have any trailing spaces in any file names (such as "Pizzcat" at the end or at a location
- Check if you have uploaded all your files to the webserver
Comments
Post a Comment