<html><head><title>表单总结</title></head><body background="C:\Users\Pictures\web\cute1.jpg"><form action="C.html" method="post" target="_self">Name:<input type="text" readonly="readonly" name="文本" value="Mr.Li" maxlength="5" size="20"/><br>Sex:<input type="radio" name="单选" value="男" checked="checked"/>男<input type="radio" name="单选" value="女" />女<br>Hobby:<input type="checkbox" checked="checked" name="多选" value=""/>Football<input type="checkbox" name="多选" value=""/>Basketball<input type="checkbox" name="多选" value=""/>Pingpong<br>Photo:<input type="file" name="上传文件" value=""/><br><input type="hidden" name="不让用户看的"><br><input type="image" src=""><br><input type="button" name="普通按钮" value="按钮"><br>Location:<select><option>Japen</option><option>China</option><option selected="selected">Australia</option></select><textarea rows="20" cols="30" disabled="disabled">Welcom!!!1.HEllO2.HELLO TOO3.HELLO TOO TOO</textarea><button>提交</button><button><img src=""/></button><input type="reset" name="" value="reset"/><input type="submit" name="" value="submit"></form>
<!--
1.disabled用户无法修改。
2.method的post安全,信息不在地址栏显示。但提交速度慢。
3.method的get不安全,信息在地址栏显示。但提交速度快。action为提交路径。
4.button双标签,输入文字相当提交按钮。
放图片,可以变成图片按钮。
5.maxlength可以限制字符个数,size限制框的大小。
6.readonly为只读。
--></body>
</html>