Create Contact form using HTML

Hi, folks today we are going to see how to create a contact form using HTML.

<div class="container">
  <form action="action.jsp">

    <label for="fname">First Name</label>
    <input type="text" id="fname" name="firstname" />

    <label for="lname">Last Name</label>
    <input type="text" id="lname" name="lastname" />

    <label for="Hobbies">Hobbies</label>
    <select id="hobbies" name="hobbies">
      <option value="cricket">Cricket</option>
      <option value="music">Music</option>
      <option value="drawing">Drawing</option>
    </select>

    <label for="subject">Subject</label>
    <textarea id="subject" name="subject" style="height:200px"></textarea>

    <input type="submit" value="Click Me">

  </form>
</div>

Output :