-1

I have a weebly site and am adding css buttons. It uses html and css. I got it to work but I need to make it go to a link when someone clicks it. I have tried everything and there is nothing on it on the internet....I have tried searching all day and still nothing.

Here is the buttons I have: codepen.io/anon/pen/avOJmz . Can someone please give a detailed area of where to put it and a code? I am a beginner in HTML and need some help from a friend. I dont think this will be a complicated question, but i just dont have much knowledge in this. THANK YOU MUCH

1 Answers1

0

You can use the href attribute to add a link to an element. In the a tags, instead of href="#", use href="yourlink.com". For instance, the button for demo will look like:

<li><a href="YOURLINKHERE" class="round yellow">Demo<span class="round">Take a look. This product is totally rad!</span></a></li>
Fernando Matsumoto
  • 2,697
  • 1
  • 18
  • 24