Input Type Radio Input Type Checkbox Input Type Button > 퍼블리셔팁

퍼블리셔팁

퍼블리싱과 관련된 유용한 정보를 공유하세요.
질문은 상단의 QA에서 해주시기 바랍니다.

Input Type Radio Input Type Checkbox Input Type Button 정보

HTML Input Type Radio Input Type Checkbox Input Type Button

본문

Input Type Radio

<input type = "radio">는 라디오 버튼을 정의합니다.

 

라디오 버튼을 사용하여 제한된 수의 선택 사항 중 하나만 선택할 수 있습니다.

 

<form>

  <input type = "radio"name = "gender"value = "male"checked> 남성 <br>

  <input type = "radio"name = "gender"value = "female"> 여성용 자료

  <input type = "radio"name = "gender"value = "other"> 기타

</ form>

 

Input Type Checkbox

<input type = "checkbox">는 체크 박스를 정의합니다.

 

 

 

<form>

  <input type = "checkbox"name = "vehicle1"value = "Bike"> 자전거가 있습니다. <br>

  <input type = "checkbox"name = "vehicle2"value = "Car"> 나는 차를 가지고있다.

</ form>

 


Input Type Button

<input type = "button"> 버튼을 정의합니다.

 

<input type = "button"onclick = "경고 ( 'Hello World!')"value = "Click Me!">

추천
0

댓글 0개

전체 1,264
퍼블리셔팁 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT