案例:html案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<!DOCTYPE html>
2
<html>
3
<body>
4
5
<form action="/example/html/form_action.aspx">
6
First name:<br>
7
<input type="text" name="firstname">
8
<br>
9
Last name:<br>
10
<input type="text" name="lastname">
11
<br><br>
12
<input type="submit">
13
</form>
14
15
<p>Note that the form itself is not visible.</p>
16
<p>Also note that the default width of a text field is 20 characters.</p>
17
18
</body>
19
</html>