Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>HTML FORMS</title>
- </head>
- <body>
- <form name="myform" action="" method="post">
- Text Field:<input type="text" name="name" />
- Password: <input type="password" name="pwd" /><br/><br/>
- Radio buttons:
- <input type="radio" name="rb1" value="rb1" /> Radio Button 1
- <input type="radio" name="rb2" value="rb2" /> Radio Button 2<br/><br/>
- Select lists:
- <select>
- <option value ="op1">Option 1</option>
- <option value ="op2">Option 2</option>
- <option value ="op3">Option 3</option>
- <option value ="op4">Option 4</option>
- </select><br/><br/>
- Checkboxes:
- <input type="checkbox" name="cb1" value="Checkbox 1" /> This is checkbox 1
- <input type="checkbox" name="cb2" value="Checkbox 2" /> This is check box 2<br/><br/>
- <br/>
- <input type="submit" value="Submit" />
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement