Linked Questions
26 questions linked to/from href syntax : is it okay to have space in file name
0 votes
1 answer
757 views
PHP Space in file name while building the img src [duplicate]
I am trying to display an image in a table from a query like this: echo ("<td> <img src=" . $row['img1'] . "></td>"); This works until there is a space in the saved data. I am ...
0 votes
0 answers
38 views
Image not being fetched from backend but other product properties such as name, rating, price, etc. being fetched [duplicate]
I am making a sample project e-commerce site wherein I encountered a problem when fetching data from my backend. All other data such as price, rating, etc. are being fetched to the frontend but just ...
163 votes
10 answers
296k views
Is a URL allowed to contain a space?
Is a URI (specifically an HTTP URL) allowed to contain one or more space characters? If a URL must be encoded, is + just a commonly followed convention, or a legitimate alternative? In particular, ...
160 votes
5 answers
252k views
In a URL, should spaces be encoded using %20 or +? [duplicate]
In a URL, should I encode the spaces using %20 or +? For example, in the following example, which one is correct? www.mydomain.com?type=xbox%20360 www.mydomain.com?type=xbox+360 Our company is ...
2 votes
2 answers
4k views
My first image doesn't show in my slideshow for website
I have searched high and low for a solution to my problem - I am new to coding and have tried to insert a slideshow into my website using javascript... Everything works fine just the first image does ...
0 votes
3 answers
8k views
JS - How to deal with space in file names? [duplicate]
Adding a space to a filename breaks the code. This works: <html> <img id="window-1" src="http://url.net/demo1.png"> <img id="window-2" src="http://url....
2 votes
2 answers
3k views
Include link to local html file in DataTable in Shiny
I want to include a link to a local html file, which lives inside the www directory of my shiny app, inside a column in data.table. On click a new tab should open showing the html file. I've found ...
1 vote
2 answers
4k views
my picture are not displayed using lazy load
I have browesed through many posts here including this here Lazy Loading doesnt display my images but i still have the problem, i do not what could be the reason but the img are not displayed at all....
0 votes
1 answer
2k views
Why is this gif not showing up? (html)
So I would like to have the background of the body be one gif that fills the entire thing. It won't show up. <style type="text/css"> body{ width:100vw; height:100vh; ...
0 votes
2 answers
783 views
Creating an anchor tag in a separate html page
Hi I have a simple HTML question that I am struggling with. I have googled and looked through stackoverflow, but I must either be doing something incorrectly because I cannot get this to work. I am ...
-1 votes
3 answers
717 views
Background image not working although path is correct
I'm trying to clone a website in my local environment. For some reason, background image doesn't show even though the path is correct as shown in the jpg below. The photo is in the same folder as ...
-1 votes
1 answer
360 views
How to change a video when I press on a image with onclick?
I´m a newbie in JS and i have written some code but it doesnt work. I want to change the video in the background, when i click on a image. Heres my code: HTML: <div id="slide"> ...
0 votes
3 answers
262 views
How To Make HTML Links
I am trying to make an href button that when clicked changes the image on my website page to another image. How precisely can I do this? I am trying to use the following code to point "Page 2" to ...
0 votes
1 answer
312 views
hyphen not allowed in script src=?
I thought that cgi-bin would be a good place to store a JS script, but it's not found using <script type="text/javascript" src="cgi-bin/jscripts1.js"></script> Renaming and changing cgi-...
0 votes
1 answer
233 views
bootstrap4 carousel image squished
I am using bootstrap4 and my image in the carousel is squished. It was working fine before but when i updated the CDN the carousel changed too. There might not be anything different in the code ...