웹개발 교육/Bootstrap

[45일] bootstrap (6) - input

2022. 9. 29. 16:08
목차
  1. Bootstrap Input
  2. Bootstrap Textarea
  3. Bootstrap Checkboxes
  4. Bootstrap Radio Buttons
  5. Bootstrap Select List

https://www.w3schools.com/bootstrap/bootstrap_forms_inputs.asp

 

Bootstrap Form Inputs

W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.

www.w3schools.com

 

 

<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>06_input.html</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
    
    <h2>Bootstrap Input</h2>
    <div class="form-group">
        <label for="usr">Name:</label>
        <input type="text" class="form-control" id="usr">
    </div>
    <div class="form-group">
        <label for="pwd">Password:</label>
        <input type="password" class="form-control" id="pwd">
    </div>

    <h2>Bootstrap Textarea</h2>
    <div class="form-group">
        <label for="comment">Comment:</label>
        <textarea class="form-control" rows="5" id="comment"></textarea>
    </div>

    <h2>Bootstrap Checkboxes</h2>
    <div class="checkbox">
        <label><input type="checkbox" value="">Option 1</label>
    </div>
    <div class="checkbox">
        <label><input type="checkbox" value="">Option 2</label>
    </div>
    <div class="checkbox disabled">
        <label><input type="checkbox" value="" disabled>Option 3</label>
    </div>

    <label class="checkbox-inline"><input type="checkbox" value="">Option 1</label>
    <label class="checkbox-inline"><input type="checkbox" value="">Option 2</label>
    <label class="checkbox-inline"><input type="checkbox" value="">Option 3</label>

    <h2>Bootstrap Radio Buttons</h2>
    <div class="radio">
        <label><input type="radio" name="optradio" checked>Option 1</label>
    </div>
    <div class="radio">
        <label><input type="radio" name="optradio">Option 2</label>
    </div>
    <div class="radio disabled">
        <label><input type="radio" name="optradio" disabled>Option 3</label>
    </div>

    <label class="radio-inline"><input type="radio" name="optradio" checked>Option 1</label>
    <label class="radio-inline"><input type="radio" name="optradio">Option 2</label>
    <label class="radio-inline"><input type="radio" name="optradio">Option 3</label>

    <h2>Bootstrap Select List</h2>
    <div class="form-group">
        <label for="sel1">Select list:</label>
        <select class="form-control" id="sel1">
          <option>1</option>
          <option>2</option>
          <option>3</option>
          <option>4</option>
        </select>
    </div>
</body>
</html>
06_input.html

Bootstrap Input

Bootstrap Textarea

Bootstrap Checkboxes

Bootstrap Radio Buttons

Bootstrap Select List

'웹개발 교육 > Bootstrap' 카테고리의 다른 글

[45일] bootstrap (8) - modal  (0) 2022.09.29
[45일] bootstrap (7) - container  (0) 2022.09.29
[45일] bootstrap (5) - pagination  (0) 2022.09.29
[45일] bootstrap (4) - image  (0) 2022.09.29
[45일] bootstrap (3) - table  (0) 2022.09.29
  1. Bootstrap Input
  2. Bootstrap Textarea
  3. Bootstrap Checkboxes
  4. Bootstrap Radio Buttons
  5. Bootstrap Select List
'웹개발 교육/Bootstrap' 카테고리의 다른 글
  • [45일] bootstrap (8) - modal
  • [45일] bootstrap (7) - container
  • [45일] bootstrap (5) - pagination
  • [45일] bootstrap (4) - image
ewok
ewok
ewok
기록장
ewok
전체
오늘
어제
  • 분류 전체보기
    • 웹개발 교육
      • HTML
      • CSS
      • JavaScript
      • Database
      • Java
      • jQuery
      • Ajax
      • Bootstrap
      • jsp
      • Spring
      • MyBatis
      • 프로젝트
    • JAVA
    • SpringBoot
      • 기초
      • AWS
      • 개인프로젝트
    • Spring Security
    • JPA
    • 테스트코드
    • Error
    • CS
      • 컴퓨터 구조
      • 이산수학
    • 알고리즘
      • 정리
      • Java
    • SQL
    • 자격증
      • SQLD
      • 정보처리기사
    • Git

블로그 메뉴

  • 홈
  • 태그
  • 방명록

공지사항

인기 글

태그

  • branch
  • org.hibernate.tool.schema.spi.CommandAcceptanceException
  • 노랭이
  • 생성자
  • base
  • SQLD
  • sqld 자격증
  • GIT
  • this
  • merge commit
  • org.springframework.beans.factory.UnsatisfiedDependencyException
  • 브랜치
  • git bash
  • 버전 관리
  • sqld 합격

최근 댓글

최근 글

hELLO · Designed By 정상우.
ewok
[45일] bootstrap (6) - input
상단으로

티스토리툴바

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.