티스토리 뷰

HTML

form

Y.일월 2019. 9. 27. 10:00

form.html

<!DOCTYPE html>

<html>

<head>

<meta charset="EUC-KR">

<title>Insert title here</title>

</head>

<body>

<form action="loginAction" method= "post" enctype="multipart/form-data">

<table>

<tr>

<td><label for="email">이메일 : </label></td>

<td><input type="text" id="email" name="email"></td>

</tr>

<tr>

<td><label for="pwd">비밀번호 : </label></td>

<td><input type="password" id="pwd" name="pwd"></td>

</tr>

<tr>

<td><label for="job">직업선택 : </label><br/></td>

<td><select name="job" id="job">

<option value="">직업선택</option>

<option value="teacher">선생님</option>

<option value="doctor">의사</option>

<option value="programmer">프로그래머</option>

<option value="etc">기타</option>

</select></td>

</tr>

<tr>

<td><label for="pic">첨부파일(사진): </label></td>

<td><input type="file" id="pic" name="pic"></td>

</tr>

<tr>

<td><label for="comment">하고싶은 말 :</label></td>

<td><textarea id= "comment"rows="10" cols="30" name="comment"></textarea></td>

</tr>

<tr><td></td>

<td><button type="submit">로그인</button></td>

</tr>

</table>

</form>

</body>

</html>

'HTML' 카테고리의 다른 글

style  (0) 2019.09.27
Selection  (0) 2019.09.27
SPA(Single Page Application)  (0) 2019.09.27
Onclick  (0) 2019.09.27
Array  (0) 2019.09.26
공지사항
최근에 올라온 글