Use a button to navigate to a website in HTML5 - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Button

Description

Use a button to navigate to a website in HTML5

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
 </head> <!--  ww  w.  ja  v  a  2 s. c  om-->
 <body> 
  <button class="link" onclick="window.location.href='http://example.com'">test</button>  
 </body>
</html>

Related Tutorials