search: <INPUT type=search>
telephone: <input type="tel" />
url: <input type="url" >
email: <input type="email" >
datetime: <input type="datetime" >
date: <input type="date">
month: month: <input type="month" >
week: week: <input type="week" >
time: time: <input type="time" >
datetime-local: <input type="datetime-local" >
date: <input type="date" min="2010-09-19" max="2010-09-26" step="2">
number: <input name="number" type="number" min="0" max="10" step="2">
range: <input type="range" name="points" min="1" max="100" />
color: <input type="color" > hidden: <input type="hidden" >
hidden: <input type="hidden" >text: <input name="text" type="text" >
checkbox: <input name="check" type="checkbox" >
<script type="text/javascript">
var checkbox = document.getElementById("check");
checkbox.indeterminate = true;
</script>
radio: <input type="radio" >
file: <input type="file">
위에 소스들은 HTML5 API를 지원해주는 브라우저에서 제대로 표현이 됩니다.
'HTML5' 카테고리의 다른 글
file - multiple (0) | 2010.09.21 |
---|