祈得斌-20201027
知识总结:
1.表单
action=”服务端路径“
method=”提交方式“(get/post)
enctype:上传文件或图片
<form action="服务端路径”mrthod="post"enctype="application/x-www-form-urlencoded">
用户名:<input type="text"name="username"id="username" placeholder="请输入用户名“/><br>
密码 码:<input type="password"name="password>
性别:<input type="radio"name="radio"name="gender"value="男”>男
<input type="radio"name="gender"女“>女
邮箱:<input type="email"name="email"/><br/>
爱好:<input type="checkbox"name="hobby"value="奴家的”/>努家的
<input type="checkbox"name="hobby"value="大户有”/>大户有
生日:<input type="date"name=""/"><br/>
几周:<input type="week"/><br>
籍贯<select name="native">
<option value="西宁“>西宁</option>
<option value="海东“>海东</option>
<option value="海西“>海西</option>
</select>
自我介绍:<textarea style="resize:none;"rows="8"cols="80"></textarea></br>
<input type=”button“value="普通按钮”/>(不能提交)
<input type="submit"value="提交按钮”/>(可以提交)
注册和登录都用提交按钮
<input type="reset"value="重置按钮”/>
<input type="image"src="img/icon.jpg"/>(可以提交)
<body>
<table width="400" height="400" border="1"cellspacing="50">
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
学习心得:
今天的实训的第二天,今天我们主要学习了表单的制作,通过今天的学习我能写出更加高级的网页了,我比起昨天进步了很多。
近期评论