@elliotn | ||
this topic will deal with forms only |
||
16
Replies
4432
Views
0 Bookmarks
|
Page #: 1/2 |
@elliotn | 1 August 06 | |
inseting a form in a html page could be define as easy the <form>code is used tell the html that u are about to make a form
|
||
@elliotn | 1 August 06 | |
eg if u want a user to write his/her name in a text field u would put it as <form> Name:<input type=''text''> </form> the above code will make a form of which a user can type in his or her name.
|
||
@elliotn | 1 August 06 | |
4 a password it must b PASSWORD:<input type=''password'' name=''password'' NB. that an asterix will appear in a user's browser as they pin in the password
|
||
@elliotn | 1 August 06 | |
a radio b*ttons are form of which user can only choose one limited option eg: <form> <input type='radio'
|
||
@kwah | 20 August 06 | |
A typical HTML login form containing everything youre ever likely to use :: <form action='http://url for the form to be sent to' method='post'> Username:<input name='username' id='username' type='text' value='username' size='15' maxlength='45'/> <input type='submit' value='Login!'/> </form> |
||
@kwah | 21 August 06 | |
all forms contain three things. the <form> and </form> tag - with various extra stuff, including the action=' ' attribute - it basically tells the browser what to do with the form .. at least one input - textbox, radio b*ttons, checkboxes, 'select' drop-down boxes, file input - .. And crucially, an <input type='submit' name='Login'/> if you want your form do actually do anything except look good
|
||
@kwah | 21 August 06 | |
firstly, i'll talk about the various inputs available. inputs do not function properly without the <form> </form> tags wrapped around it ..<input type='text'/> is simply a plain, ordinary text box .. <input type='password'/> is a text box, BUT when text is typed in, it appears as a series of *'s ... <input type='radio'/> radio b*ttons are just a group of options, but you can only select one option
|
||
@kwah | 21 August 06 | |
drop-down boxes are slightly more complex and require more code than all the other types of input .. a simple example showing three options to choose from : <select name='example drop-down box'> <option value='1'>option 1</option> <option value='2'>option 2</option> <option value='3'>option 3</option> </select> ... If you need any help with any html etc,please feel free to contact me at prodigits
|
||
Wapmaster-school Forum
Bookmarks
Wapmaster-school