Professional Documents
Culture Documents
Lap-Trinh-Web - Mai-Xuan-Hung - Form - (Cuuduongthancong - Com)
Lap-Trinh-Web - Mai-Xuan-Hung - Form - (Cuuduongthancong - Com)
1
CuuDuongThanCong.com https://fb.com/tailieudientucntt
Nội dung
Thẻ MARQUEE
<html>
<body>
<form Name=“Dangnhap”
Action=“/admin/xlDangnhap.php”
Method=“Post”>
………………
</form>
</body>
</html>
Thẻ MARQUEE
………… 20
>
Ví dụ
<input type=“text” name=“txtName” value=“This is one line text with
301” size=“10” maxlength=“10”>
Ví dụ
<html>
<body>
Check box group : <br>
Anh van: <input type="checkbox" name="Languages1" value="En"><br>
Hoa: <input type="checkbox" name="Languages2" value="Chz" checked><br>
Nhut: <input type="checkbox" name="Languages3" value="Jp"><br>
</body>
</html>
<html>
<body>
Radio Button Group : <br>
Nam: <input type="radio" name="sex1" value="nam" checked><br>
Nu: <input type="radio" name="sex2" value="nu“checked ><br>
</body>
</html>
Ths. Mai Xuân Hùng 13
CuuDuongThanCong.com https://fb.com/tailieudientucntt
File Form Control
Dùng để upload 1 file lên server
Cú pháp
<form action=“…” method=“post”
enctype=“multipart/form-data” name=“...”>
<input TYPE=“FILE” NAME=“…”>
</form>
<html>
Ví dụ
<body>
<form name=“frmMain” action=“POST” enctype=“multipart/form-data”>
<input type="file" name="fileUpload">
</form>
</body>
</html>
</textarea>
Thẻ MARQUEE