Langsung saja ini dia source codenya.
<html>
<head>
<title>Latihan Input</title>
</head>
<body>
<FORM METHOD="POST"ACTION="mailto:HtmlPractice@yahoo.com">
<H4>Silahkan isi data lengkap anda</H4>
<INPUT TYPE="text"NAME="var1"SIZE="30"VALUE="Masukkan nama anda.">
<BR></BR>
<B>Apakah anda Pelajar?</B>
<INPUT TYPE="checkbox"NAME="var2">
<BR></BR>
<B>Berapa usia anda?</B>
<BR>
<INPUT TYPE="radio"NAME="var3"VALUE="r1">10-15
<BR>
<INPUT TYPE="radio"NAME="var3"VALUE="r1">16-20
<BR>
<INPUT TYPE="radio"NAME="var3"VALUE="r1">21-25
<BR>
<INPUT TYPE="radio"NAME="var3"VALUE="r1">25-30
<BR></BR>
<INPUT TYPE="submit"NAME="var4"VALUE="Send">
<INPUT TYPE="reset"NAME="var5"VALUE="Clear">
</FORM>
</body>
</html>
<head>
<title>Latihan Input</title>
</head>
<body>
<FORM METHOD="POST"ACTION="mailto:HtmlPractice@yahoo.com">
<H4>Silahkan isi data lengkap anda</H4>
<INPUT TYPE="text"NAME="var1"SIZE="30"VALUE="Masukkan nama anda.">
<BR></BR>
<B>Apakah anda Pelajar?</B>
<INPUT TYPE="checkbox"NAME="var2">
<BR></BR>
<B>Berapa usia anda?</B>
<BR>
<INPUT TYPE="radio"NAME="var3"VALUE="r1">10-15
<BR>
<INPUT TYPE="radio"NAME="var3"VALUE="r1">16-20
<BR>
<INPUT TYPE="radio"NAME="var3"VALUE="r1">21-25
<BR>
<INPUT TYPE="radio"NAME="var3"VALUE="r1">25-30
<BR></BR>
<INPUT TYPE="submit"NAME="var4"VALUE="Send">
<INPUT TYPE="reset"NAME="var5"VALUE="Clear">
</FORM>
</body>
</html>
Mudah kan, nahh tinggal dikembankan sediri lagi guys !!
0 komentar: