今天是在中软的第二天,最近上课都是在学基础,巩固以往在网上自学的知识,因为我本来是游戏制作专业的,后来因为对网页制作感兴趣,所以就在网上看着视频自学了一阵子,后来越学越觉得Web好有趣,我能靠一堆代码做出自己喜欢的网页效果,这种成就感给了我更大的动力让我继续学下去。现在选择在中软培训,强化自己的web知识。
今天老师教了我们网页中关于表单的各种标签的运用:
<form action="" method="get">
<label>用户名:</label><input type="text" name="账号"/>
<br/>
<label>密码框:</label><input type="password" name="密码"/>
<br/>
<label>确认密码:</label><input type="password" name="密码"/>
<br/>
<label>隐藏域:</label><input type="hidden" name="隐藏域"/>
<br/>
开<input type="radio" name="1">
劈<input type="radio" name="1">
<br/>
一胎<input type="checkbox"/>
二胎<input type="checkbox"/>
三胎<input type="checkbox"/>
备胎<input type="checkbox" checked="checkbox" />
<br/>
<input type="button" value="登录"/>
<button>登录</button>
<input type="submit" value="提交"/>
<input name="图片按钮" type="image" src="img/01.jpg" style="width: 40px;height: 40px;" />
<select name="复选框" id="">
<option selected="selected">a</option>
<option>b</option>
<option>c</option>
<option>d</option>
</select>
<br/>
<textarea name="多行文本域" id="one" cols="30" rows="10" placeholder="520张纸上的爱情" style="resize: none;" />
</textarea>
<!-- resize:none 无法拖动 -->
<input type="reset" name="重置按钮"/>
</form>