<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
</head>

<body>
<form>
	<input type="text" name="文本域控件名称" size="20" maxlength="15" value="文字域默认取值" >

	<br>

	<input type="password" name="密码域控件名称" suze="20" maxlength="15" value="密码域的默认取值" />

	<br>


	选项1
	<input type="radio" value="单选按钮的取值1" name="单选按钮的名称" checked="checked" />
	<br>
	选项2
	<input type="radio" value="单选按钮的取值2" name="单选按钮的名称" checked="checked" />


	<br><br>


	选项1
	<input type="checkbox" value="复选框的值1" name="名称1" checked="checked" /><br>
	选项2
	<input type="checkbox" value="复选框的值2" name="名称1" /><br>
	选项3
	<input type="checkbox" value="复选框的值3" name="名称1" />

	<br>

	<input type="button" value="按钮名字" name="给服务器区分按钮"/>
    
    
   <br>
   
   <input type="submit" name="给服务器区分哪个按钮的提交" value="提交按钮的名字" />
   
   <br>
   
   <input type="reset" name="给服务器区分哪个按钮的重置" value="重置按钮的名字" />
   
   <br>
   
   <input type="image" src="../图片/捕获.PNG" name="给服务器区分哪个图像按钮"  width="51" height="70"/>
   
   <br>
   
   <input type="hidden" name="隐藏域名称" value="提交的值" />
   <!--
   此标签主要用来传递一些参数,这些参数不需要在页面显示,例如隐藏用户的id值等等<input type="hidden" name="user id" value="1000" />
   -->
   
  <br>
  
  <input type="file" name="给服务器区分哪个文件域上交的文件" />
  

</form>
</body>
</html>

7.2.1输入标签的简单运用

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
  • 2022-01-02
  • 2021-10-05
  • 2021-10-23
  • 2021-06-16
  • 2022-12-23
猜你喜欢
  • 2021-06-04
  • 2022-01-15
  • 2021-04-23
  • 2021-11-13
  • 2022-03-03
  • 2021-09-05
  • 2021-05-20
相关资源
相似解决方案