Wednesday, October 18, 2017

THE REVISION OF HTML PART 2

What i learned through note HTML PART 2

HTTP method can be divide to "get" and "post"

"get"-request data from a specified resource
"post"-submits data to be processed to a specified resource
👉"post"-<form action="insert.asp"method="post"> </form >

Input elements
👉Text Box
<INPUT type="text" name="myname" size=30 max length=40>

👉Password Box
<INPUT type="password" name="pwd" size=15 max length=15>

👉Radio Buttons
<INPUT type="radio" name="os value="mac"> Macintosh <br\>
<INPUT type="radio" name="os" value="dos"> DOS <br\>
<INPUT type="radio" name="os" value="win"> Windows <br\>
<INPUT type="radio" name="os value="win95"> Windows95 <br\> 
<INPUT type="radio" name="os" value="os2">OS/2 <br\>
<INPUT type="radio" name="os" value="unix"> UNIX <br\> 

👉Check Boxes
<input type="checkbox" name="used" value="mac"> Mac<br\>
<input type="checkbox" name="used" value="dos"> DOS<br\>
<input type="checkbox" name="used" value="win"> Windows<br\>
<input type="checkbox" name="used" value="win95> Win95<br\>
<input type="checkbox" name="used" value="os2 OS/2<br\>
<input type="checkbox" name="used" value="unix"> UNIX<br\> 

👉Select-create a pop-up list from which any one option may be selected
<SELECT name="access">
     <OPTION>No response
     <OPTION>Compuserve
     <OPTION>America On-Line
     <OPTION>Local ISP
     <OPTION>National ISP
</SELECT>

👉Multiple Selections
select more than one= use attribute multiple
display many options=use attribute size
P> How are you reaching this page?
<SELECT MULTIPLE name="access size=5>
     <OPTION>No response
     <OPTION>Compuserve
     <OPTION>America On-Line
     <OPTION>Local ISP
     <OPTION>National ISP
</SELECT>

</P>

👉Text Area
<TEXTAREA name="comments" rows=5 cols=65></TEXTAREA>

👉Hidden Input
<INPUT type="hidden" name="sendTo" value=adm@uum.edu.my">

👉Submit&Reset
type="submit"
type="reset"

mark up=
<INPUT type="submit value=Go!>
<INPUT type=reset value=Clear>

At the end of all note, i learn how to summit data with many ways and using html correctly 



at 

No comments:

Post a Comment

The overall

From this course,    STIV 3013 WWW programming, I  have learn about computing language which are html, css, javascript and php. For my und...