Code
Execute
<!DOCTYPE html> <html> <head> <title>Wikitechy input tag</title> </head> <body> <h2> input tag with example</h2> <form action="#" onsubmit="alert('Submitted!');return false;"> First name: <br><input type="text" name="FirstName" value="Wiki"><br> Last name: <br><input type="text" name="LastName" value="techy"><br><br> <input type="submit" value="Submit"> </form> </body> </html>
Result