网页优化便签(简称:sdk )
设置网页编码防止网页乱码
<meta char set "UTF-8">
设置搜索关键字
<meta name="keywords(关键字)" content="(内容)">
设置描述信息
<meta name="description(描述信息)" content="">
列表
有序列表ol
无序列表ul
自定义列表 dl
input类型
<input type="password" 密码框
<input type="submit"> 网页提交按钮
<input type="text"> 文本
<input type="image" src="路径"> 图片提交按钮
<input type="button" value="内容"> 普通按钮
<input type="reset" > 重置按钮
<input type="file"> 选择图片
dd 列表项
<input type="checkbox"> 多选控件
<input type="radio" name="gender"> 单选控件(单选时应把名字写成一样的)```
非input类型标签
<select>
<option>下拉列表框</option>
</select>
<textarea></textarea>文本域
属性
value 默认值
maxlength最大长度
name 名字
readonly将控件设置为只读
disabled="将控件设置为禁用模式"
placeholder="设置控件提示信息"