Ví dụ thuộc tính form Code: <!DOCTYPE html> <html> <body> <form action="/demo/action_page.php" id="form1"> Họ: <input type="text" name="fname"><br> <input type="submit" value="Gửi"> </form> <p>Ô "Tên" mặc dù nằm ở ngoài form nhưng vẫn là một phần của form.</p> Tên: <input type="text" name="lname" form="form1"> </body> </html> Kết quả: