Minifycode 2020-01-17 Viewed 1.5K times HTML

   Different input types you can use in HTML:
    Example
 

<form>
        First Name:<br>
        <input type="text" name="firstname"><br>
        Last Name:<br>
        <input type="text" name="lastname">
 </form>
   
    <input type="text"> Defines a one-line text input field:-
  
    <form>
        Email:<br>
        <input type="email" name="txtemail"><br>
        Password:<br>
        <input type="password" name="txtpassword">
        Submit:<br>
        <input type="submit" name="btnSubmit">
    </form>
    <input type="reset">
    <input type="search">
    <input type="button">
    <input type="color">
    <input type="date">
    <input type="datetime-local">
    <input type="email">
    <input type="submit">
    <input type="tel">
    <input type="text">
    <input type="time">
    <input type="file">
    <input type="hidden">
    <input type="image">
    <input type="url">
    <input type="week">
    <input type="checkbox">
    <input type="range">
    <input type="month">
    <input type="number">
    <input type="password">
    <input type="radio">

Different input types you can use in HTML
minify code