I would like to learn about HTML forms. For example, I have 2 input text fields for first name and last name and a submit button. When the submit button is clicked, I would like the webpage to display something like: Your Name is "First Name" "Last Name".
<!DOCTYPE html> <html> <body> <form> First name: <input type="text" name="firstname" /><br /> Last name: <input type="text" name="lastname" /><br /> <input type="submit" value="Submit" /> </form> </body> </html>
What do I need to have here in order to have some "action" when I click that button?