User mengirimkan data input dengan mengisi teks atau pilihan pada attribut form html. Apa saja yang merupakan komponen form html diantaranya :
Form
<form action="action" base="">
form tags </form>
<form method="method">
form tags </form>
<form enctype="media" type="">
form tags </form>
<form action="action" base="" target="target window name">
form tags </form>
<form script="URL">
form tags </form>
Tampilan program
Note : target window name diisikan berupa:
_blank
_self
_parent
_top
Form Input Check Box
<input name="name" type="checkbox"
value="value" /> <input checked="checked" name="name"
type="checkbox" value="value" />
Tampilan program
Form Input File
<input accept="mime" list="" name="name" type="file" />
Tampilan program
Form Input Hidden
<input name="name" type="hidden" value="value" />
Form Input Image
<input name="name" src="URL" type="image" /> <input align="alignment" name="name" src="URL" type="image" />
Tampilan Program
Form Input Password
<input name="name" type="password" />
<input maxlength="length" name="name" type="password" /> <input
name="name" size="size" type="password" /> <input name="name"
type="password" value="value" />
Tampilan program
Form Input Radio Button
<input name="name" type="radio" value="value" /> <input checked="checked" name="name" type="radio" value="value" />
Tampilan program
Form Input Range
This is not supported in many browsers.
<input max="max" min="min" name="name"
type="RANGE" /> <input min="min" name="name" type="RANGE" />
MAX=max VALUE=value>
Tampilan program
0 komentar:
Posting Komentar