1.代码:
<!DOCTYPE html>
<html>
<head>
<title>文档标题</title>
</head>
<body>
此处为文本内容.......
<!-- 以下是与表单(form)有关的指令 -->
<form action="demo_form.php" method="post/get">
<input type="text" name="email" size="40" maxlength="50">
<input type="password">
<input type="checkbox" checked="checked">
<input type="radio" checked="checked">
<input type="submit" value="Send">
<input type="reset">
<input type="hidden">
<select>
<option>苹果</option>
<option selected="selected">香蕉</option>
<option>樱桃</option>
</select>
<textarea name="comment" rows="60" cols="20"></textarea>
</form>
</body>
</html>
2.结果: