form_example.html 1.04 KB
<!DOCTYPE html>
<html lang="ko">
<head>
  <meta charset="utf-8">
</head>
<body>
  <form action = "" method="post">
    <input type="hidden" name="type" value="user"/>
    아이디 : <input type="text" name="name" size="10"/>
    <input type="button" value="중복조회"/> <br/>
    비밀번호: <input type="password" name="pwd" size="10"/><br/>
    성별:
      <input type="radio" name="sex" value="m"/>
      <input type="radio" name="sex" value="f"/>
    <br/>
    취미:
        <input type="checkbox" name="hobby" value="book"/>
        <input type="checkbox" name="hobby" value="movie"/>영화
        <input type="checkbox" name="hobby" value="music"/>음악
      <br/>
    사진: <input type="file" name="photo"/><br/>
    주소: <select name="job">
      <option value="seoul">서울</option>
      <option value="busan">부산</option>
      <option value="etc">기타</option>
    </select>
    <br/>
    소개: <br/>
    <textarea cols="30" rows="5" name="intro"></textarea><br/>
    <input type="submit"/>
  </form>
</body>
</html>