ex04.html 1.51 KB
<!DOCTYPE html>
<html lang="ko">
<head>
  <meta charset="utf-8">
</head>
<body>
  <form action="" method="post">
    <table border="5">
      <tr>
        <th>아이디</th>
        <td colspan="3">
          <input type="text" name="id" size="15"/>
          <input type="button" value="중복조회"/>
        </td>
      </tr>
      <tr>
        <th>비밀번호</th>
        <td><input type="password" name="pwd" size="15"/></td>
        <th>확인</th>
        <td><input type="password" name="pwd2" size="15"/></td>
      </tr>
      <tr>
        <th>이름</th>
        <td colspan="3">
          <input type="text" name="name" size="15"/>
        </td>
      </tr>
      <tr>
        <th>이메일</th>
        <td colspan="3">
          <input type="text" name="email" size="20"/>
        </td>
      </tr>
      <tr>
        <th>성별</th>
        <td colspan="3">
          <input type="radio" name="sex" value="m"/>
          <input type="radio" name="sex" value="f"/>
        </td>
      </tr>
      <tr>
        <th>지역</th>
        <td colspan="3">
          <select name="region">
            <option value="seoul">서울</option>
            <option value="yongin">용인</option>
            <option value="etc">기타</option>
          </select>
        </td>
      </tr>
      <tr>
        <td colspan="4">
          <input type="checkbox" name="agree" value="agree"/>
          약관에 동의합니다.
        </td>
      </tr>
    </table>
    <input type="submit" value="회원가입"/>
  </form>
</body>
</html>