Ví dụ sử dụng thẻ pre trong HTML Code: <!DOCTYPE html> <html> <body> <p>Thẻ pre giữ nguyên dấu cách và xuống dòng:</p> <pre> Hạt gạo làng ta Có vị phù sa Của sông Kinh Thầy Có hương sen thơm Trong hồ nước đầy Có lời mẹ hát Ngọt bùi đắng cay... </pre> </body> </html> Kết quả: