CSS path and form a form of usage

1. What is the path?
Road King is divided into three
1. absolute path:
from the beginning of the letter, followed by a look down
the local:
C: /Users/Administrator/Desktop/0527day01/07.html
server:
www.baidu ....
127.0. 0.1
192.168 ....

http://www.baidu.com
2. relative path:
starting from the current file, if the next level directory directly write the name of the folder, one level with ../ said that if the same level catalog directly write the file name
3 letter root path:
you can directly jump to the current file in the root directory of all letter /
server under the omitted
locally under
2. image <img> tag attributes and image of the label
path src image
alt when a picture does not show the time will show, for example, when the image is loading, or the wrong path picture does not show the time.
width width
height height
align their

<img src = "/ koala.jpg" alt = " Loading of the picture" width = "200" align = left = "Center" />
3. What is <a> label?
It is connected label, used to jump page of
the most important in <a> tag is href attribute, to determine the branch path
<a href="http://www.baidu.com"> GO! Baidu </a> expressed click GO! Baidu Baidu page jump to
communication between the front and rear ends 4.
1.form submission
Core Tags: function only submitted, without any style
1.form
Properties:
Address action filed, typically the server's address, If you do not write, submit the page to the default
mode method submitted. get / post if you do not write, submit to get
the difference and get the post.

Properties 2.input label
input form the core of the label is to change the style of the show by modifying the type attribute of the input tag,? Behind the content for parameters. Our ultimate aim is to have the parameters to be sent to the back-end, you want to send parameters, input must contain the name attribute.
1. Single radio box must have a value of the same value
checked default option represents
M <input type = "radio" name = "sex" value = "1" checked />

2. checkbox box must have a value of the same value
<input type = "checkbox" checked = "checked" name = "aihao" value = "0" /> soy sauce
<input type = "checkbox" checked name = "aihao" value = "1 " /> fights
<input type = "checkbox" name = "aihao" value = "2" /> Paoniu
<input type = "checkbox" name = "aihao" value = "3" / > play games
<input type = "checkbox" name = "aihao" value = "4" /> learning
3. use the drop-down box select the
default option is the first line of the beginning of the displayed page
<select name = "hefang" id = "">
<Option value = "Wuhan"> Wuhan </ Option>
<Option value = "Jingzhou"> Jingzhou </ Option>
<Option value = "Yellowstone "> Yellowstone </ Option>
<Option value =" Yangyang "> Xiangyang </ Option>
<Option value =" Shiyan "> Shiyan </ Option>
</ SELECT>
4. textbox TextArea
<TextArea name =" miaoshu " rows = "" cols = "" > </ textarea>

Guess you like

Origin www.cnblogs.com/Godfather-twq/p/10941618.html