Hộp thoại

From Wikiversity

Chức năng[edit]

Được sử dụng để nhập dữ liệu

Cú pháp[edit]

<form>
  <input type="text" name="tên">
</form>

Thí dụ[edit]

<!DOCTYPE html>
<html>
<body>

<form action="">
First name: <input type="text" name="firstname"><br>
Last name: <input type="text" name="lastname">
</form>

<p><b>Note:</b> The form itself is not visible. Also note that the default width of a text field is 20 characters.</p>

</body>
</html>
Xem kết quả hiển thị hộp thoại