<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html> <!-- html5 세팅 -->
<html>
<head>
<meta charset="UTF-8">
<meta name ="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap-theme.min.css">
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<title>Insert title here</title>
</head>
<body>
	<div class="container">
		<h2>Bootstrap 기본 Form</h2>
		<form>
			<div class="form-group">
				<label for="email">Email</label>
				<input type="email" class="form-control" id="email" placeholder="Enter email" name="email">
			</div>
			<div class="form-group">
				<label for="pwd">Password</label>
				<input type="password" class="form-control" id="pwd" placeholder="Enter password" name="pwd">
			</div>
			<div class="form-group">
				<label><input type="checkbox" name="remember">Remember me</label>
			</div>
				<button type="submit" class="btn btn-default">Submit</button>
		</form>
	</div>
	
	<div class="container">
		<h2>Bootstrap 기본 Form</h2>
		<form class="form-inline">
			<div class="form-group">
				<label for="email">Email</label>
				<input type="email" class="form-control" id="email" placeholder="Enter email" name="email">
			</div>
			<div class="form-group">
				<label for="pwd">Password</label>
				<input type="password" class="form-control" id="pwd" placeholder="Enter password" name="pwd">
			</div>
			<div class="form-group">
				<label><input type="checkbox" name="remember">Remember me</label>
			</div>
				<button type="submit" class="btn btn-default">Submit</button>
		</form>
	</div>
	
	<div class="container">
	<h2>Horizontal form</h2>
		<form class="form-horizontal">
			<div class="form-group">
				<label class="control-label col-sm-2" for="email">Email</label>
				<div class="col-sm-10">
					<input type="email" class="form-control input-sm" id="email" placeholder="Enter email" name="email"> 
				</div>
			</div>
			<div class="form-group">
				<label class="control-label col-sm-2" for="pwd">Password</label>
				<div class="col-sm-10">
					<input type="password" class="form-control input-lg" id="pwd" placeholder="Enter password" name="pwd"> 
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-12">
					<label><input type="checkbox" name="remember">Remember me</label> 
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-12">
					<button type="submit"class="btn btn-default">Submit</button> 
				</div>
			</div>
			
			<div class="form-group">
				<label for="comment">Comment</label>
				<textarea class="form-control" rows="5" id="comment">
				</textarea>
			</div>
			
		</form>
	</div>
	
	
</body>
</html>