Articles → HTML → Input elements in HTML

Input elements in HTML






What are input elements?

















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>



Output


Picture showing the output of the Input elements in HTML

Click to Enlarge


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