HTML Forms
<!DOCTYPE html> <html> <body> <h2>LAB-06 HTML Forms</h2> <form action="/action_page.php"> <label for="fname">First name:</label><br> <input type="text" id="fname" name="fname" value=""><br> <label for="lname">Last name:</label><br> <input type="text" id="lname" name="lname" value=" "><br><br> <input type="submit" value="Submit"> </form> <p>If you click the "submit" button, the form-data will be sent to a page called "/action_page.php".</p> </body> </html> Output: Question 1 <!DOCTYPE html> It is used to tell the browser what kind of document to display, in this case html. It is used for all HTML documents. <html> The main langua...