본문 바로가기
JSP

230112_HTML

by 경 훈 2023. 1. 12.

 

<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="EUC-KR">
<title>Insert title here</title>
</head>
<body>
	<ul>점심메뉴
		<li>밥</li>
		<li>김</li>
		<li>국</li>
		<li>오징어찌개</li>
	</ul>
	<ol type="A">라면 맛있게 끓이는 방법
		<li>물을 500ml 넣고 끊인다</li>
		<li>물이 끊으면 스프를 넣는다</li>
		<li>물이 끊으면 면을 넣고 삶는다</li>
		<li>계란을 넣는다</li>
		<li>완성</li>
	</ol>
</body>
</html>

 

<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="EUC-KR">
<title>Insert title here</title>
</head>
<body>
<table border="1">
	<thead>
		<tr>
			<th>이름</th>
			<th>전화번호</th>
			<th>나이</th>
		</th>
	</thead>
	<tbody>
		<tr>
			<td>홍길동</td>
			<td>010-1234-1234</td>
			<td>32</td>
		</tr>
		<tr>
			<td>홍길동1</td>
			<td>010-2222-4444</td>
			<td>35</td>
		</tr>
	</tbody>
</table>
</body>
</html>

 

<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="EUC-KR">
<title>Insert title here</title>
</head>
<body>
	<form action="입력한 정보가 도착하는 파일">
		이름 : <input type="text" name="name"><br>
		아이디 : <input type="text" name="id"><br>
		패스워드 : <input type="password" name="pw"><br>
		나이 : <input type="text" name="age"><br>
		성별 : <input type="radio" name="sb" value="man">남자
			<input type="radio" name="sb" value="woman">여자<br>
		나이2 :
		<select>
			<option value="10대">10대</option>
			<option value="20대">20대</option>
			<option value="30대">30대</option>
			<option value="40대">40대</option>
			<option value="50대">50대Up</option>
		</select>
		<br>
		취미 : <input type="checkbox" name="hobby" value="운동">운동
			<input type="checkbox" name="hobby" value="독서">독서
			<input type="checkbox" name="hobby" value="영화">영화
			<input type="checkbox" name="hobby" value="맛집">맛집<br>
		생일 : <input type="date" name="birthday"><br>
		말말 : <textarea rows="10" cols="20" name="note"></textarea><br><br>
		<input type="submit" value="자료전송">
		<input type="reset" value="입력취소">
	</form>
</body>
</html>

 

<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="EUC-KR">
<title>Insert title here</title>
</head>
<body>
	<form action="입력한 정보가 도착하는 파일">
	<table border="1" align="center">
	<caption>회원정보입력</caption>
		<tr>
			<th>이름</th>
			<td><input type="text" name="name"></td>
		</tr>
		<tr>
			<th>아이디</th>
			<td><input type="text" name="id"></td>
		</tr>
		<tr>
			<th>패스워드</th>
			<td><input type="password" name="pw"></td>
		</tr>
		<tr>
			<th>성별</th>
			<td><input type="radio" name="sb" value="man">남
				<input type="radio" name="sb" value="man">여</td>
		</tr>
		<tr>
			<th>취미</th>
			<td><input type="checkbox" name="hobby" value="운동">운동
				<input type="checkbox" name="hobby" value="영화">영화
				<input type="checkbox" name="hobby" value="독서">독서
				<input type="checkbox" name="hobby" value="게임">게임
				<input type="checkbox" name="hobby" value="맛집">맛집</td>
		</tr>
		<tr>
			<th>나이</th>
			<td><input type="text" name="age"></td>
		</tr>
		<tr>
			<th>생일</th>
			<td><input type="date" name="birthday"></td>
		</tr>
		<tr>
			<th>말말</th>
			<td><textarea rows="10" cols="40" name="note"></textarea></td>
		</tr>
		<tr>
			<td colspan="2" align="center"> 
				<input type="submit" value="자료전송">
				<input type="reset" value="자료초기화"></td>
		</tr>
	</table>
		이름 : <input type="text" name="name"><br>
		아이디 : <input type="text" name="id"><br>
		패스워드 : <input type="password" name="pw"><br>
		나이 : <input type="text" name="age"><br>
		성별 : <input type="radio" name="sb" value="man">남자
			<input type="radio" name="sb" value="woman">여자<br>
		성별2 :
		<select>
			<option value="10대">10대</option>
			<option value="20대">20대</option>
			<option value="30대">30대</option>
			<option value="40대">40대</option>
			<option value="50대">50대Up</option>
		</select>
		<br>
		취미 : <input type="checkbox" name="hobby" value="운동">운동
			<input type="checkbox" name="hobby" value="독서">독서
			<input type="checkbox" name="hobby" value="영화">영화
			<input type="checkbox" name="hobby" value="맛집">맛집<br>
		생일 : <input type="date" name="birthday"><br>
		말말 : <textarea rows="10" cols="20" name="note"></textarea><br><br>
		<input type="submit" value="자료전송">
		<input type="reset" value="입력취소">
	</form>
</body>
</html>

 

<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h1 align="center">회원가입</h1>
	<form action="korea1.jsp">
	<table border="1" align="center">
		<caption>회원정보입력</caption>
		<tr>
			<th>아이디</th>
			<td><input type="text" name="id"></td>
		</tr>
		<tr>
			<th>패스워드</th>
			<td><input type="password" name="pw"></td>
		</tr>
		<tr>
			<th>이름</th>
			<td><input type="text" name="name"></td>
		</tr>
		<tr>
			<th>전화번호</th>
			<td><input type="text" name="phone"></td>
		</tr>
		<tr>
			<th>거주지</th>
			<td><input type="text" name="address"></td>
		</tr>
		<tr>
			<th>성별</th>
			<td><input type="radio" name="gender" value="man">남
				<input type="radio" name="gender" value="woman">여</td>
		</tr>
		<tr>
			<th>나이</th>
			<td><select><option value="10대">10대
						<option value="20대">20대
						<option value="30대">30대
						<option value="40대">40대
						<option value="50대">50대
						<option value="60대">60대이상</select></td>
		</tr>
		<tr>
			<th>취미</th>
			<td><input type="checkbox" name="hobby" value="낚시">낚시
				<input type="checkbox" name="hobby" value="게임">게임
				<input type="checkbox" name="hobby" value="등산">등산
				<input type="checkbox" name="hobby" value="캠핑">캠핑
				<input type="checkbox" name="hobby" value="맛집">맛집</td>
		</tr>
		<tr>
			<th>직업</th>
			<td><input type="text" name="job"></td>
		</tr>
		<tr>
			<th>자기소개</th>
			<td><textarea rows="10" cols="30"></textarea></td>
		</tr>
		<tr>
			<td colspan="2" align="center">
				<input type="submit" value="자료입력">
				<input type="reset" value="자료리셋"></td>
		</tr>
	</table>
	</form>
	<div align="center">
		<a href="http://google.com"><img src="image/logo.jpg" width=100px; height=auto;></a>
	</div>
</body>
</html>

'JSP' 카테고리의 다른 글

230119_DB  (0) 2023.01.19
230118_DB  (0) 2023.01.18
230117_기본  (0) 2023.01.17
230116_CSS  (1) 2023.01.16
230113_HTML  (0) 2023.01.13

댓글