Linking to another html document when a button is clicked using form action attribute - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Button

Description

Linking to another html document when a button is clicked using form action attribute

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
 </head> <!--   www. j a  v  a  2s . com-->
 <body> 
  <form action="http://java2s.com"> 
   <input type="submit" value="Go"> 
  </form>  
 </body>
</html>

Related Tutorials