Application of Advanced HTML skills (9) with the choice of good form frame

Related Tags:

  Used in the design of the questionnaire form, in order to reduce the operational users, the use of the selection box is a good idea, in the html <input> marker in the box, there are two options, that is, single-box and the box, the difference between the two is the radio box users can only choose one option, and the options in the box users can choose a number of arbitrary, and even the entire election.    Look at this example: 


  Here is the source code for this example, the code in terms of the parameters settings: 

  <form Name="form1"> 
  Do you like to travel?    Please select: <br> 
  <input Type="radio" name="radiobutton" value="radiobutton" checked> like 
  <input Type="radio" name="radiobutton" value="radiobutton"> do not like 
  <input Type="radio" name="radiobutton" value="radiobutton"> indifferent <br> 
<br>
  Those interested in your campaign, please select: <br> 
  <input Type="checkbox" name="checkbox1" value="checkbox"> running 
  <input Type="checkbox" name="checkbox2" value="checkbox"> play 
  <input Type="checkbox" name="checkbox3" value="checkbox"> climbers 
  <input Type="checkbox" name="checkbox4" value="checkbox"> Aerobics <br> 
  </ Form> 

  From the above we can see that the source code, as long as the production of single-box marked <input> type parameter settings for type = "radio" on the trip, while the box only to produce <input> marked for the type parameter settings type = "checkbox" on the trip.    As for the actual choice of using that frame, according to the actual need.    If only there is a choice of users on a single box, as is the case in "Do you like to travel?" This issue, users could only be an option, so a single box; if it allows users to have a range of options the contents of the box is used, such as in the case of the "Movement for those interested in you?" this issue, because a person's interests may be multi-faceted, so using the box. 

  In "input> markers set parameters checked, the box has been selected by default.    As is the case of a single-box ( "like" Below that single box) selected to the default settings, allowing users to choose if "like", it would no longer be elected, of course, if the user to choose "do not like", as long as the click the "do not like" under the single-box, and the default value is automatically cancelled.    Use the same method can also be a box to the default settings selected.    However, the default box chosen not abuse Otherwise, it will cause resentment users. 

Related articles:

Ajax process
  An interactive Ajax from a group called XMLHttpRequest JavaScript objects began.    As the name suggests, it allows a client-side scripting to implement HTTP requests, and an XML format will be analytic server response.    Ajax the first step in the process is to create a ...
Dreamweaver MX 2004 Video Collection Guide (107)
  Section 107 sets: make the site from where it began    Curriculum objectives: to the Institute web site positioning    Curriculum points: make the site from where it started, that is, give the Web site location to determine the nature of websites.    [Full-scr...
TIP: Flash in the Print Control
  This estimate does not concern a lot of people.    However useful.    I Tieshanglai bar.    Flash responsible for the print category PrintJob    First of all understand what    Attribute:    Orientation: String [ROM] Image Print...
CSS development manual
  CSS development manual wrote: nilxin    Based on articles:    A choice of three styles attribute selector p (color: red;) category selector. P (color: red;) ID selector # p (color: red;) 2. TransparentBackground: transparent; prevent definition covering background Third,...
Using the CSS RevealTrans filters
  Author: Fengyongyao RevealTrans dynamic filters the CSS is a wonderful filter, it can produce 23 kinds of dynamic effects, it is more intriguing but also in the dynamic effects in the 23 selected by one of them.    Use it for the dynamic switching between pages, it very convenient, ...