html - How can I make a button link to another page? -


this html far

<button type="button" formaction="contact.html">get in touch!</button>

for reason when click on button in browser doesn't take me contact.html page. pages came in google helped me learn new button attributes, couldn't figure out how make page redirect on click.

if using bootstrap, can use you:

<a href="#" class="btn btn-info" role="button">link button</a> 

see http://www.w3schools.com/bootstrap/bootstrap_buttons.asp


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -