r/HTML • u/Ok_Share_2183 • 9h ago
Question trying to move linked image
hello, extremely confused.
so i made an image as a clickable link to another page in my site. now i just want to move it to a particular position on the screen.
im not sure how to do this. heres my code so far.
<p><a href="manifestoroom.html"> <img src="images/manifesto-window.jpg" alt="Manifesto" style="width:42px;height:20px;"> </a> </p>
so i dont know if im supposed to
A) use 'absolute' to fix the image to a particular point on my background image
B) use 'span' to specify where i want it using top/ left: 'x'px type code
C) some type of <div> and class= attribute type this which i later learned should be used with links?? cant figure out what im doing wrong!!!!!! please help!!!!
p.s im doing this on neocities and it wont let me use the link without putting it in a paragraph tag... do i need to get rid of those to use other tags??