Help!
Can anyone tell me how to add an image to my web page n html as code given below
<img src="https://replit.com/@KaustavSiwach/Personal-Blog-Site#images/rss-icon.png>
help!
Stucked
CodingElf66
Add a file called script.js
, and inside, attach the following code:
link = document.getElementById('link'); document.write('<img src="' + link + '"></img>')
And, in inde.html
, add the following code:
<input id="link" type="text" placeholder="Image URL"></input>
To do that you should have the basic html tags, which is there by default, and as you can see it's inside the images folder so the syntax would be -
Add this. If your question has been answered pls tick my answer
Thank's dude you helped me a lot