HTML Input Types
This chapter describes the different input types for the <input> element. Input Type Text <input type=”text”> defines a one-line text input field: Example <form> First name:<br> <input type=”text” name=”firstname”><br> Last name:<br> <input type=”text” name=”lastname”> </form> Try it Yourself » This is how the HTML code above will be displayed in a browser: First name: Last name: Input Type Password <input type=”password”> defines […]
