현재 번역은 완벽하지 않습니다. 한국어로 문서 번역에 동참해주세요.

개요

The HTML Datalist Element (<datalist>) contains a set of <option> elements that represent the values available for other controls.

속성

This element has no other attributes than the global attributes, common to all elements.

예제

<div>Choose a browser from this list:</div>
<input list="browsers" />
<datalist id="browsers">
  <option value="Chrome">
  <option value="Firefox">
  <option value="Internet Explorer">
  <option value="Opera">
  <option value="Safari">
</datalist>

결과

사양

사양 상태 주석
HTML Living Standard
The definition of '<datalist>' in that specification.
Living Standard  
HTML5
The definition of '<datalist>' in that specification.
Recommendation  

브라우저 호환성

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

기능 Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 20 4.0 (2.0) 10 9.5 No support
기능 Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support 33 4.0 (2.0) No support 10 No support

Polyfill

datalist-polyfill

같이 보기

문서 태그 및 공헌자

이 페이지의 공헌자: mfranzke, azunyan3
최종 변경: mfranzke,