I want to incorporate an image into my HTML code. This method has worked for me:
<img id="image1" src="http://image.jpg" alt=" " width="300" height="300" />
My goal is to substitute the http with a variable so that I can dynamically call the website instead of hardcoding it inline:
<img id="image1" src=URL alt=" " width="300" height="300" />
Is there anyone who can assist me with this?