    <!DOCTYPE html>
    <html>
    <head>
      <meta charset="UTF-8">
      <title>옵션이 있는 문자 입력하기</title>
    </head>
    <body>
      <p>키우고 싶은 동물은</p>
      <input type="text" list="animal">
      <datalist id="animal">
        <option value="개"></option>
        <option value="고양이"></option>
        <option value="오리"></option>
        <option value="코알라"></option>
      </datalist>
      <p>키우고 싶은 장소는</p>
      <input type="text" list="place">
      <datalist id="place">
        <option value="내방"></option>
        <option value="거실"></option>
        <option value="안방"></option>
        <option value="마당"></option>
      </datalist>
    </body>
    </html>