<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="utf-8">
    <title>HTML5 form examples</title>
    <style>
      html {
        font-family: sans-serif;
      }

      div {
        margin-bottom: 10px;
      }
    </style>
  </head>
  <body>
    <h1>HTML5 form examples</h1>

    <form>
      <div>
        <label for="myBrowser">Choose a browser from this list:</label>
        <input list="browsers" name="myBrowser" id="myBrowser">
        <datalist id="browsers">
          <option value="Chrome">
          <option value="Firefox">
          <option value="Internet Explorer">
          <option value="Opera">
          <option value="Safari">
          <option value="Microsoft Edge">
        </datalist>
      </div>
      <div>
        <label for="number">Enter a number:</label>
        <input type="number" name="number" id="number">
      </div>
      <div>
        <label for="tel">Enter a telephone number:</label>
        <input type="tel" name="tel" id="tel">
      </div>
      <div>
        <label for="email">Enter an email address:</label>
        <input type="email" name="email" id="email">
      </div>
      <div>
        <label for="time">Enter a time:</label>
        <input type="time" name="time" id="time">
      </div>
      <div>
        <label for="date">Enter a date:</label>
        <input type="date" name="date" id="date">
      </div>
    </form>
  </body>
</html>
