Tuesday, 31 January 2017

BASIC CONCEPT OF HTML TAGS

1. <input type=”text”>
2. <input type=”button” value=”Click”>
3. <input type=”radio”>
4. <input type=”checkbox”>
5. <input type=”submit” value=”Enter”>
6. <input type=”file”>

Difference between normal button and submit button
Normal button is used for calling JavaScript functions whereas Submit button is used to submit values in forms or from one page to another.

7. For dropdown –
          <select>
                    <option>PHP</option>
                   <option>JQuery</option>
          </select>

8. For Multiline Textbox –
          <textarea>          </textarea>

Form – It is a container i.e. it can hold other elements. It does the following steps-
1. Looks for the controls.
2. Searches the name property and add/attach values to them.
3. The two controls are separated by ‘&’ symbol.
4. The name and value are separated by ‘=’ symbol.
5. Converts into string (using separators) and pass to the page specified in action attribute. 

No comments:

Post a Comment