Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>My JS Bin</title>
</head>
<body>
  <!--6.Function-->
  <form>
    Firstname : <input type="text" name="firstname" value="Type here" maxlength ="5">
    <br><br>
    Lastname : <input type="text" name="lastname">
    <br><br>
    <input type="radio" name="sex" value="male" checked>Male
    <br>
    <input type="radio" name="sex" value="female">Female
    <br><br>
    <input type="submit" value="Submit !!">
    <br><br>
    <input type="button" value="Click Me~!" Onclick="funct()">
  </form>
  <br>  
  <!--22.Event handlers-->
  <form>
    <input type="button" value="Click me" onClick="alert('oh!');alert('Ouch!')">
  </form>
  <!--23.onMouseOver & onLoad-->
  <a href="https://www.facebook.com/" onMouseOver="alert('yo!');">Mouse hover me</a>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
Ditor25pro
0viewers