Tips | Web page
Presumably everyone has used the form on the page, if you are not satisfied with the monotonous form control unit, you may wish to look at the following tips:
1, form text input Mobile selection: In the text input column, if added to the prompts, visitors will often use the mouse to select the Delete, and then enter useful information. In fact, as long as you add code to <textarea>, everything will be much simpler, such as:
<textarea name=textarea wrap=virtual rows=2 cols=22 中文版. </textarea>
Similarly, you can add code to <input>.
2, Form input Unit Click Delete: This column is similar to the function, just use the mouse slightly changes, you need to click rather than as long as the mouse cover. Such as:
<input type=text name= "Address" size=19 value= "Enter,e-mail ..." >
Click the input unit, the prompt information will be deleted, is not very convenient.
3, form input cell border settings: Change the traditional table-only element border, will make your homepage a lot of colour. Such as:
<input type=radio name=action value=subscribe checked style= "border-bottom:dashed 1px; Border-left:dashed 1px; Border-right:dashed 1px; border-top:dashed 1px;background-color: #FEF5C8 ">
where "style=***" for the left and right up and background color settings, for other units, please try the reader himself.
4, form input Unit text settings: The form of cells in the font can be modified, such as:
<input type=text name= "Address" size=19 value= "Enter,e-mail" style=font-family: "Verdana"; font-size:10px >
where "style=***" is the font and Word size settings.
5, modify the form properties for pop-up windows: Most forms are activated, will open in the current page, affecting normal browsing. Why not change it, such as:
<form method=post Action=url target=_blank>
where "Target=_blank" is opened for control in the pop-up window.