Friday, October 25, 2019

Hi, i will continue explain about html and form. Form used to collect information from people viewing your site. there are two form method which is post and get.  both of this method is different.


Input Elements, there are 4 input elements that can be use which is text box, password box, radio button and check box. This is the example to code the input.
a) text


<INPUT type="text" name=myname" size=30 maxlength=40 >

b)password

<INPUT type="password" name="pwd" size=15 maxlength=15>

c)radio button

<INPUT type="radio" name="os value="mac"> Macintosh <br\>

d) check box

<input type="checkbox" name="used" value="mac"> Mac<br\>

SELECT, we can create a pop up list which anyone can be selected . the advantage is little screen space for the list option

<SELECT name="access">
     <OPTION>No response
     <OPTION>Compuserve



No comments:

Post a Comment