IT/html

Input Type Radio Input Type Checkbox Input Type Button

조원태 2017. 1. 7. 00:00
반응형

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!">


2017/01/06 - [IT/html] - HTML Input Type Submit , Input Type Reset

2017/01/06 - [IT/html] - html Input Type Text , Input Type Password

2017/01/05 - [IT/html] - html textarea button 요소

2017/01/05 - [IT/html] - HTML5 form 요소 datalist keygen output

2017/01/05 - [IT/html] - html input select 요소


반응형

'IT > html' 카테고리의 다른 글

HTML 입력 제한(Input Restrictions) 1  (0) 2017.01.08
HTML5 input 유형  (0) 2017.01.08
HTML Input Type Submit , Input Type Reset  (0) 2017.01.06
html Input Type Text , Input Type Password  (0) 2017.01.06
HTML5 form 요소 datalist keygen output  (0) 2017.01.05