easy
原始碼(b11_form_email.html)
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>Form</title>
</head>
<body>
<content>
<form action="mailto:xxx@nkust.edu.tw" method="POST" enctype="multipart/form-data" name="EmailTestForm">
Name:<br />
<input type="text" size="24″ name="VisitorName" placeholder="貴號"><br />
<br />
Message:<br />
<textarea name="VisitorComment" rows="4″ cols=" 20″ placeholder="不要寄出去">
</textarea><br />
<br />
<input type="submit" value="Submit" />
</form>
</content>
<hr />
信件內容為:<br />
<pre class="demo">
xxx
下午1:18 (0 分鐘前)
寄給 我
VisitorComment=teddd
</pre>
</body>
</html>
demo
原始碼(b11 form.html)
<!DOCTYPE html>
<HTML lang="en-US">
<HEAD>
<TITLE> Form </TITLE>
<META charset="utf-8" />
<META name="keywords" content="" />
<META name="description" content="" />
</HEAD>
<BODY>
<form id="myform">
Name: <input type="text" maxlength="10"/><br/>
Male: <input type="radio" name="gender" value="male"/>
female: <input type="radio" name="gender" value="female"/><br/>
Dog: <input type="checkbox" name="pet" value="dog"/>
Cat: <input type="checkbox" name="pet" value="Cat"/> <br/>
<select name="colours">
<option value="black">Black</option>
<option value="white">White</option>
</select>
</BODY>
</HTML>