write a javascript program to accept name and surname from the user and print it in bigger font and blue color
Answers
Answer:
<form action="/action_page.php" method="get" name="myForm">
<form action="/action_page.php" method="get" name="myForm"> First name: <input type="text" name="fname"><br>
<form action="/action_page.php" method="get" name="myForm"> First name: <input type="text" name="fname"><br> Last name: <input type="text" name="lname"><br>
<form action="/action_page.php" method="get" name="myForm"> First name: <input type="text" name="fname"><br> Last name: <input type="text" name="lname"><br> <input type="button" onclick="formSubmit()" value="Send form data!">
<form action="/action_page.php" method="get" name="myForm"> First name: <input type="text" name="fname"><br> Last name: <input type="text" name="lname"><br> <input type="button" onclick="formSubmit()" value="Send form data!"></form>