Input Element in HTML

Table of Contents

Input Element in HTML

the <input> element is an input field where the users can enter information or Data. <input>elements are placed inside a element. An <input> element can be represented in various ways, depending on the type attribute.


   Your Name: <input type="text"><br>
   Address: <input type="text" ><br>
   City : <input type="text" ><br>
    Country: <input type="text" ><br>


Your Name:
City :

List of HTML Input Types

  • <input type=”button”>
  • <input type=”checkbox”>
  • <input type=”color”>
  • <input type=”date”>
  • <input type=”datetime-local”>
  • <input type=”email”>
  • <input type=”file”>
  • <input type=”hidden”>
  • <input type=”image”>
  • <input type=”month”>
  • <input type=”number”>
  • <input type=”password”>
  • <input type=”radio”>
  • <input type=”range”>
  • <input type=”reset”>
  • <input type=”search”>
  • <input type=”submit”>
  • <input type=”tel”>
  • <input type=”text”>
  • <input type=”time”>
  • <input type=”url”>
  • <input type=”week”>

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *