Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

I embedded this html button on my website but it doesn't work

What could be the possible reasons?

<!-- # # Code # # -->
<div class="link-item-wrapper">
<a href="https://www.instagram.com/thestackoverflow/" >
<img src="https://www.instagram.com/static/images/ico/apple-touch-icon-76x76-precomposed.png/666282be8229.png" >
</div>
<!-- # # # # # # # -->

Observations:

  1. Button is clickable but does nothing…
  2. Middle Mouse button works and opens the website correctly.
  3. hovering the mouse shows the website correctly in the bottom left corner.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

It works for me in firefox, but you should explicitely close the a tag after the img.

<div class="link-item-wrapper">
<a href="https://www.instagram.com/thestackoverflow/">
<img src="https://www.instagram.com/static/images/ico/apple-touch-icon-76x76-precomposed.png/666282be8229.png">
</a>
</div>
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading