티스토리 뷰

부트스트랩 실습- 회원가입 폼

 

실습. 아래의 항목에 알맞는 폼을 구성하도록 하시오.

항목 : 아이디, 패스워드, 패스워드 확인, 이메일, 성별

 

	<div class="container" >
	<h2 class="text-center"> 회원가입 </h2>
	<form>
  <div class="form-group">
    <label for="InputuserId">아이디</label>
    <input type="text" class="form-control" name ="userId" id="InputuserId" placeholder="아이디을 입력하세요">
  </div>
  <div class="form-group">
    <label for="exampleInputpassword1">패스워드</label>
    <input type="password" class="form-control" name ="userPw" id="exampleInputpassword1" placeholder="패스워드를 입력하세요">
  </div>
  <div class="form-group">
    <label for="exampleInputpasswordCheck1">패스워드 확인</label>
    <input type="password" class="form-control" id="exampleInputpasswordCheck1" placeholder="패스워드 확인">
  </div>
   <div class="form-group">
    <label for="exampleInputEmail1">이메일 주소</label>
    <input type="email" class="form-control" id="exampleInputEmail1" placeholder="이메일을 입력하세요">
  </div>
  <label>성별</label>
  <div class = "radio">
	<label class="radio-inline">
  <input type="radio" name="userGender" value="남"> 남
	</label>
	<label class="radio-inline">
	  <input type="radio" name="userGender" value="여"> 여
	</label>
	</div>
  <div>
  	<button type="submit" class="btn btn-default btn-lg btn-primary btn-block">회원가입</button>
  </div>
	</form>
	
	</div>

 

 

'41기 개발자과정' 카테고리의 다른 글

20211122 데이터베이스 트랜잭션, 프로시저  (0) 2021.11.22
20211119 부트스트랩 - 그리드 시스템  (0) 2021.11.19
20211116 부트스트랩 설정  (0) 2021.11.16
20211115 html5 설정  (0) 2021.11.15
20211115 ajax  (0) 2021.11.15
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG more
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함