Text fields are used to gather short text responses from a user. Text fields can also be used to gather numerical data.
EX<!DOCTYPE html> <html> <body> <form> First name:<br> <input type="text" name="firstname"> <br> Last name:<br> <input type="text" name="lastname"> </form> </body> </html>O/P First name: