while creating a website using HTML how would i create a link on another place on the page to scroll to an image file that I have inserted?
i tried using the href command, but I am having trouble creating the id to connect to the image.
can I get a step by step example, please?
1
Just give an id to the image and append #id to your link. This could look like:-
<a href="#randomId"/>
<img src="srcOfImage" id="randomId"/>