SGK Tin học 12 Cánh diều Bài 6. Tạo biểu mẫu có đáp án
6 câu hỏi
Trênmànhìnhsoạnthảo email cómộtsố ô điềukhiểnnhậpdữliệunhưsau:
Ô Email hoặcsốđiệnthoại: dùngđểnhậpđịachỉ mail hoặcsốđiệnthoạiđăngnhập mail.
Việcnhậpdữliệucho ô “Địachỉngườinhận” làđịachỉngườisẽnhậnthư.
Việcnhậpdữliệucho ô “Nội dung” khisoạnthảo email là: nội dung màngườigửithưmuốngửichongườinhậnthư.s
Em hãysoạnthảovănbản HTML đểtạobiểumẫuvớicácđiềukhiểnnhậpliệunhư ở Hình 6.

<!DOCTYPE html>
<html>
<head>
<title>index</title>
<meta charset="utf-8">
</head>
<body>
<from action = "hoithao.php" method = "POST">
<h3> Tham giahộithảo </h3>
Họvàtên: <input type=" type"= "text" name="txtHovaten">
Địachỉ Email: <input type=" type"= "text" name="txtĐiachiEmail">
<input type = "radio" name = "opttime" value = "10">Lớp 10
<input type = "radio" name = "opttime" value = "11">Lớp 11
<input type = "radio" name = "opttime" value = "12">Lớp 12
<p> Tham dựmôn: </p>
<input type = "checkbox" name = "chkBongBan">BóngBàn
<input type = "checkbox" name = "chkCauLong">CầuLông
<input type = "checkbox" name = "chkCoVua">Cờ Vua
<input type = "sumbmit" name = "cmd" value = "Đăngkí"
<input type = "sumbmit" name = "cmd" value = "Huỷbỏ"
</from>
</body>
</html>

<!DOCTYPE html>
<html>
<head>
<title>index</title>
<meta charset="utf-8">
</head>
<body>
<from action = "hoithao.php" method = "POST">
<h3> Tham giahộithảo </h3>
Họvàtên: <input type=" type"= "text" name="txtHovaten">
Địachỉ Email: <input type=" type"= "text" name="txtĐiachiEmail">
<input type = "radio" name = "opttime" value = "10">Lớp 10
<input type = "radio" name = "opttime" value = "11">Lớp 11
<input type = "radio" name = "opttime" value = "12">Lớp 12
<p> Tham dựmôn: </p>
<input type = "checkbox" name = "chkBongBan">BóngBàn
<input type = "checkbox" name = "chkCauLong">CầuLông
<input type = "checkbox" name = "chkCoVua">Cờ Vua
<input type = "sumbmit" name = "cmd" value = "Đăngkí"
<input type = "sumbmit" name = "cmd" value = "Huỷbỏ"
</from>
</body>
</html>
Khai báonàođượcdùngđểtạođiềukhiểnnhậpdữliệu ô text trongbiểumẫu?
A. <input type="text" name="txt">
B. <textfield name="txt">
C. <textinput name"txt">
D. <input type="txtfield" name="txt">
Đápánđúnglà:
A. <input type="text" name="txt">
Mỗiphátbiểusauđâyvềcácđiềukhiểnnhậpdữliệutrênbiểumẫulàđúng hay sai?
a) Phầntửtextareađượcdùngđểkhaibáođiềukhiểnnhậpdữliệukítựtrênnhiềudòngtrongbiểumẫu.
b) Phầntử input cóthuộctính type = “radio” đượcdùngđểkhaibáocácmụclựachọnchophépngườidùngcóthểchọnnhiềumụcchọn.
c) Phầntử input cóthuộctính type = “submit” đượcdùngđểkhaibáonútlệnhgửidữliệu.
d) Muốnxuốngdòngkhinhậpdữliệuvào ô nhậpliệutạobằngkhaibáophầntử input cóthuộctính type= “text” sửdụngphím Enter.
a) Sai
b) Đúng
c) Đúng
d) Sai


