Attribute cung cấp thông tin bổ sung cho HTML element, viết trong thẻ mở theo cú pháp name="value".
Ví dụ: <a href="https://example.com" target="_blank">Link</a>. Các attribute phổ biến: href, src, class, id, style, alt, type, placeholder. Một số attribute không cần giá trị (boolean): disabled, checked, required.
Lưu ý: attribute name không phân biệt hoa thường nhưng giá trị thì có.