HTML Form: Form that is sent through Email

This entry is part 7 of 10 in the series HTML Form

Since we are not using CGI script to collect data from the form, we will create a form that we can send through email.

Clicking on the Send button in the form will launch the email program install in your PC.

<!DOCTYPE html>
<html>
<head lang='en'>     
    <meta charset='UTF-8'>
    <title>Codecrawl.com-Form</title>

</head>
<body>

<form method='post' action='mailto: johndoe@yahoo.com'>
    Name: <input type='text' name='name'>
    <br>
    Phone: <input type='text' name='phone'>
    <br>

    Comments:
    <br>
    <textarea name='comment' rows='3'></textarea>
    <br>
    <input type='submit' value='Send'>
    <input type='reset' value='Clear'>
</form>

</body>
</html>
Series Navigation<< HTML Form: Placeholder text
HTML Form: Multiple selections using checkboxes >>