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 can no longer get the links to work in my webpage

Firstly I apologise as I have only limited experience of HTML, CSS and Bootstrap so this may be something really simple that I have overlooked.

I created a website for a friend that has mailto links on a button. They were working but now they don’t. Can’t figure what I have done that stops it from working.

The code is:

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

<ol class="align-content-center btn btn-lg btn-secondary button2 mt-3" href="mailto:hello@wandering.yoga?subject=Website%20booking%20Online-Zoom">Book Here</ol>

The mailto link works by itself in isolation but clicking on the "Book now " button does nothing.

The page is here Yoga Website

>Solution :

href work only on <a> tag.

So try that :

<a href="mailto:hello@wandering.yoga?subject=Website%20booking%20Online-Zoom">
    <ol class="align-content-center btn btn-lg btn-secondary button2 mt-3">Book Here</ol>
</a>
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