코드:
결과보기 »
<!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <title>HTML5 Form Elements</title> </head> <body> <h1>datalist 요소를 이용한 선택</h1> <form action="/examples/media/request.php"> <input list="lectures" name="lecture"> <datalist id="lectures"> <option value="HTML"> <option value="CSS"> <option value="JAVA"> <option value="C++"> </datalist> <input type="submit" value="전송"> </form> </body> </html>