1 <!doctype html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>无标题文档</title>
6 </head>
7 <p style="color:#FF0000">
8
9 </p>
10 <form action="L3_01.html" method="get" >
11 用户名:<input type="text" name="name" size="30"><br><br>
12 意见:<textarea name="textarea" id="" cols="30" rows="5" placeholder="请输入您的意见,谢谢!!" style="background: #F0FFFF"></textarea><br>
13 <h2 style="color:#FF0000">表单重写属性适用于提交按钮</h2>
14 <p style="color:#FF0000">
15 formaction - 重写表单的 action 属性<br>
16 formenctype - 重写表单的 enctype 属性<br>
17 formmethod - 重写表单的 method 属性<br>
18 formnovalidate - 重写表单的 novalidate 属性<br>
19 formtarget - 重写表单的 target 属性<br>
20 </p>
21 <br><input type="submit" value="提交到地址1" formaction="L3_02.html"> <input type="reset"><br>
22 <br><input type="submit" value="提交到地址2" formaction="L3_06.html"> <input type="reset"><br>
23 <br><input type="submit" value="提交到地址3" formaction="L3_07.html"> <input type="reset"><br>
24 <!--
25 <br><button type="submit" style="background: #FFF0FF;border-radius: 10px;padding: 10px"><img src="pen.jpg" alt="" width="12px">提交</button>
26 <button type="reset" style="background: #FFFFF0;border-radius: 10px;padding: 10px">重置</button><br>
27 -->
28
29 </form>
30 <body>
31 </body>
32 </html>