ex04.html 1.43 KB
<!DOCTYPE html>
<html lang="ko">
  <head>
    <meta charset="utf-8">
  </head>
  <form action="" method="post">
    <input type="hidden" name="type" value="user"/>
    <table border="1">
      <tr>
        <th>아이디</th>
        <td colspan="3"><input type="text" name="ID" size="10"/>
        <input type="button" value="중복조회"</td>
      </tr>
      <tr>
        <th>비밀번호</th>
        <td><input type="text" name="pwd" size="10"/></td>
        <td>확인</td>
        <td><input type="text" name="pwd2" size="10"/></td>
      </tr>
      <tr>
        <th>이름</th>
        <td colspan="3"><input type="text" name="name" size="10"/></td>
      </tr>
      <tr>
        <th>이메일</th>
        <td colspan="3"><input type="text" name="email" size="10"/></td>
      </tr>
      <tr>
        <th>성별</th>
        <td colspan="3">
          <input type="radio" name="sex" value="male"/>
          <input type="radio" name="sex" value="female"/>
        </td>
      </tr>
      <tr>
        <th>지역</th>
        <td colspan="3">
          <select name="address">
            <option value="seoul">서울</option>
            <option value="busan">부산</option>
            <option value="etc">기타</option>
        </td>
      </tr>
      <tr>
        <td colspan="4"><input type="checkbox" name="agreement"/> 약관에 동의합니다.</td>
      </tr>
    </table>
    <input type="submit" value="회원가입"/>
  </form>
</html>