본문 바로가기
html/input

[html/input] input type 유형

by ponionq 2021. 1. 17.
  • <input type="button"> : 버튼을 생성
  • <input type="checkbox"> : 체크 박스 생성
  • <input type="color"> :  색상 선택 양식을 생성
  • <input type="date"> : 연, 월, 일 양식을 생성
  • <input type="datetime-local"> : 연, 월, 일 , 오전, 오후 , 시간, 분 양식 생성
  • <input type="email"> : email 입력 폼 생성
  • <input type="file"> : file 입력 양식 생성
  • <input type="hidden"> : 보이지 않게 처리
  • <input type="image"> : 이미지 형태로 생성
  • <input type="month"> : 셀렉트 양식 형식으로  연, 월, 일  양식 생성
  • <input type="number"> : 숫자 입력 양식 생성
  • <input type="password"> : 비밀번호 입력 양식 생성
  • <input type="radio"> : 라디로 박스 생성
  • <input type="range"> :  슬라이드 바 조절 양식 생성
  • <input type="reset"> : 모든 form요소의 값을 초기값으로 되돌리는 버튼 생성
  • <input type="search"> : 검색어을 입력 할 수 있는 텍스트 양식 생셩
  • <input type="submit"> : 모든 form 요소의 데이터를 전송하는 버튼
  • <input type="tel"> :  전화번호를 입력하는 양식 생성
  • <input type="text"> (기본값) :  텍스트 입력 양식 생성
  • <input type="time"> : 오전, 오후, 시간, 분  입력 양식 생성
  • <input type="url"> :  url 입력하는 양식 생성
  • <input type="week"> :  한 주 을 입력 양식 생성

 

 

참고 사이트 : www.w3schools.com/tags/tag_input.asp