웹표준,웹접근성(html, html5, css, css3, javascript, jQuery, jQueryMobile, snecha, senchaTouch, php, mobileWebApp)

HTML Forms - other_forms_element 본문

html

HTML Forms - other_forms_element

jokack01 2011. 11. 10. 10:02

<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>HTML Forms - other_forms_element</title>
</head>
<body>

<form action="#" method="post">
 
 <h4>남기고 싶은 말</h4>
 <p><textarea cols="20" rows="4">
남기고 싶은 말을 넣어주세요.
 </textarea></p>
 
 <h4>주로 커피 티 타임은 언제 가지시나요?</h4>
 <select name="link_teatime">
  
  <option value="0">오전</option>
  <option value="1" selected="selected">오후</option>
  <option value="2">야간</option>
  <option value="3">심야</option>
 
 </select>
 
 
 
 <!--
  select 드롭 다운 메뉴
   - name, - multiple
   
   optgroup
    - label
   
   option
    - value
 -->
 
 <h4>어떤 브랜드의 자동차를 좋아하시나요?</h4>
 
 <select name="like_car" multiple="multiple">
  <optgroup label="국산 브랜드">
   <option value="a">소나타</option>
   <option value="b">그렌져</option>
   <option value="c" selected="selected">SM5</option>
  </optgroup> 
  <optgroup label="외산 브랜드">
   <option value="d">아우디</option>
   <option value="e">GMW</option>
   <option value="f">Honda</option>
  </optgroup> 
 </select>
 
</form>

</body>
</html>

'html' 카테고리의 다른 글

HTML - Output elements  (0) 2011.11.10
HTML Forms - Fieldset, Legend  (0) 2011.11.10
button  (0) 2011.11.10
object  (0) 2011.11.10
form  (0) 2011.11.10