Yahoo Answers is shutting down on 4 May 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Help linking html through images?

Having an issue linking my HTML pages via clickable images. I have a "Continue" image that I want when clicked to send someone to the next page, a seperate html file, yet even following tutorials didnt help. Here is what my current code looks like

<a href="/page2/page2.html><img src=/images/"how-to-project-dw_04.jpg"></a>

My "Continue" image is in a seperate folder due to my college class professors specifications, please help

6 Answers

Relevance
  • 5 years ago

    Yeah, your quotes are in the wrong place like Duncan said and you don't need the forward slash before your href like Fred said.

    Here's how it should look:

    <a href="page2/page2.html"><img src="images/how-to-project-dw_04.jpg"></a>

  • 5 years ago

    If the folders are in the same level from the directory root, you should not need the forward slash before the url.

  • Anonymous
    5 years ago

    If the folders are in the same level from the directory root, you should not need the forward slash before the url.

  • Anonymous
    5 years ago

    If this is your actual code you need the quote marks for each part...

    <a href="/page2/page2.html"><img src="/images/how-to-project-dw_04.jpg">

  • 5 years ago

    if the link is not working, then the path is incorrect

  • ?
    Lv 4
    5 years ago

    you can do it easily .

    <a href="/img src/pic.html">PITURE<img src="/image/your-image.jpg">

Still have questions? Get answers by asking now.