WEB Archive

[HTML] 데이터 입력 관련태그(form, input)

universedevelope 2024. 8. 20. 13:52
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Test004.html</title>
</head>
<body>

<div>
	<h1> 데이터 입력 관련 태그</h1>
	<hr>
</div>

<div>
	<!-- check~!! -->
	<form action="">
		이름<input type = "text"> <br>
		국어<input type = "text"> <br>
		영어<input type = "text"> <br>
		수학<input type = "text"> <br>
		<br>
		
		<input type = "button" value = "결과">
		<input type = "reset" value = "취소">
		<br>
		
		총점<input type = "text"> 평균 <input type = "text"><br>
		
	</form>
</div>

</body>
</html>

어떤 사이트에 들어가면 늘 보이는 빈칸과 설명글을 이렇게 나열하는구나..

여러가지 데이터를 입력해보는 폼을 구성해보기!

그런데 왜 form 위에 check를 하셨을까?!

아직은 모르는 일이다..그저따라갈뿐

728x90