{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

forms - 1 FORMS Forms For collecting user input An advanced...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
1 FORMS - Forms For collecting user input ° An advanced feature supported in newer versions of browsers. ° Users may design their forms anyway to their liking. Form input using <INPUT> ° Radio button for selecting one from a set in general: <input type=”radio” … checked> …<br> <input type=”radio” ...> … <br> ° Checkbox for selecting more than one: <input type=”checkbox” …checked> … <br> <input type=”checkbox” ... > … <br> ° Note: Using radio buttons to select more than one is allowed if so desired.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2 Form input using <SELECT> ° Will generate a pull-down menu to select one out of many. ° Need <option> to give values for selection. <select name=” … "> <option> … <option> … <option> … </select> Form text data input ° For line input: <INPUT TYPE=”text” …> ° For block input: <TEXTAREA NAME=”…” ROWS=value COLS=value> … </TEXTAREA>
Background image of page 2