HTML 2일차 input, select, textarea 태그

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>
</head>
<body>

<form action="">
아이디 <input type="text" name="id" size="8" value="입력"><br>
비밀번호 <input type="password" name="password" size="8" value="****"><br>
성별 <input type="radio" name="gender" value="m"> 남
<input type="radio" name="gender" value="f"> 여<br>
취미 <input type="checkbox" name="hobby" value="baseball"> 야구
<input type="checkbox" name="hobby" value="soccer"> 축구
<input type="checkbox" name="hobby" value="basekball"> 농구<br>
직업 <select>
<option value="student"> 학생 </option>
<option value="company_staff"> 회사원 </option>
<option value="public_official"> 공무원 </option>
</select>
<select size="3" multiple="multiple">
<option value="student"> 학생 </option>
<option value="company_staff"> 회사원 </option>
<option value="public_official"> 공무원 </option>
</select><br>
기타 <textarea rows="5" cols="50"></textarea><br>
<input type="submit" value="전송">
<input type="submit" value="취소">
</form>

</body>
</html>


result)

댓글 없음: