MARCELO Posted May 23, 2018 Share Posted May 23, 2018 How can i add a link in this buttom: https://www.w3schools.com/code/tryit.asp?filename=FRM3ZD7H5SZE I thought i should only add to it this: <a href="https xxx">Hover</a> but its not working Thanks. Link to comment Share on other sites More sharing options...
Ingolme Posted May 24, 2018 Share Posted May 24, 2018 Just replace the <button> element with an <a> element that has the same class attribute. The class is important. <a class="button"><span>Hover </span></a> Link to comment Share on other sites More sharing options...
MARCELO Posted May 25, 2018 Author Share Posted May 25, 2018 Thanks, Ingolme. Now it s working perfectly. But when i click the buttom, instead of going to the link, my Google Chrome shows a message about not being safe to continue. This only happens with this buttom. Is there anything i can do about that? Thanks, Link to comment Share on other sites More sharing options...
Ingolme Posted May 25, 2018 Share Posted May 25, 2018 That's probably because you're linking from an HTTPS site to an HTTP site. Check that your link starts with https:// instead of http:// Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now