20201113 千锤百炼软工人

今天学习的网课

主要内容如下

1 多行文本
<textarea cols="30" rows="5">
</textarea>
2 复选框
<select>
<option selected="selected">xxx</option>
</select>
3 语义化表单
<fieldset>
<legend>标题</legend>
<! -- 其他相同 -->
</fieldset>
4 回车
<br/>
5 表单标注
<label for="xian"> 西安</label>
<input type="checkbox" id="xian"/>
6 提交文件
必须在form中添加 enctype="muultipart/form-data">
<input type="file" name="file1" />
7 文本框只读设置
readonly="readonly"
8 文本框最大输入长度
maxlength="X"
9 文本框长度设置
size="X"

posted @ 2020-11-13 21:54  黄某人233  阅读(48)  评论(0编辑  收藏  举报