Articles → HTML → Input Elements In HTML

Input Elements In HTML






What Are Input Elements?






  1. Textbox (for writing plain text)
  2. Radio button
  3. Checkbox
  4. Password textbox



Input Type = Text






<input type="text" />



Input Type = Radio






<input type="radio" />



Input Type = Checkbox






<input type="checkbox" />



Input Type = Password






<input type="password" />



Example


<html>
  <head>
    <title>input elements Demo</title>
  </head>
  <body>
    <form>
      <input type="text" />
      <input type="radio" />
      <input type="checkbox" />
      <input type="password" />
    </form>
  </body>
</html>

Try It


Output


Picture showing the output of the Input elements in HTML



Browser Support


Internet ExplorerFirefoxChromeSafariOperaEdge
YesYesYesYesYesYes



Posted By  -  Karan Gupta
 
Posted On  -  Sunday, November 6, 2016
 
Updated On  -  Sunday, November 26, 2017

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250