File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- 1 . 使用HTML、CSS写好一个输入框
1
+ ## 1. 使用HTML、CSS写好一个输入框
2
2
3
3
如何做到输入框无无文字时和输入文字时一致对齐?
4
4
chrome 浏览器的输入框光标、输入文字、占位符有以下规则:
35
35
相关链接:<http://qianduanblog.com/post/css-learning-21-using-html-css-write-an-input-box.html>
36
36
37
37
38
- 2. label 标签的应用
38
+ ## 2. label 标签的应用
39
39
40
40
```
41
41
<input id =" J_MyChk " type =" checkbox " value =" " ><label for =" J_MyChk " >点击我也可以让左边选中</label >
45
45
<label ><input type =" checkbox " value =" " >点击我也可以让左边选中</label >
46
46
```
47
47
48
- 3. `<button type="button">我是一个按钮</button>`
48
+ ## 3. `<button type="button">我是一个按钮</button>`
49
49
50
- 4. `form `表单的正确使用
50
+ ## 4. `form `表单的正确使用
51
51
52
52
https://github.com/paddingme/fex/issues/3
53
53
54
- 5. `title` 属性 和 `alt` 属性
54
+ ## 5. `title` 属性 和 `alt` 属性
55
55
56
56
`title`的正确使用场景主要有以下四种:
57
57
You can’t perform that action at this time.
0 commit comments