HTML - form form action

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>form表单操作</title>
</head>
<body>
<form name="MyForm" method="post" action="index.html">
账号:<input type="text" size="15" maxlength="7" /><br/>
密码:<input type="password" size="15" maxlength="7"/><br/>

性别:
<input type="radio" name="q1" value="boy" />男
<input type="radio" name="q1" value="gril"/>女<br/>

爱好: button" onclick = "alert ( 'a successful login!')" /><input type = "button" value Table tennis <br/><input type = "checkbox" id Badminton<input type = "checkbox" id
swimming<input type = "checkbox" id





</ form>

</ body>
</ HTML>

page screenshot

 




Guess you like

Origin www.cnblogs.com/Teachertao/p/11261551.html