<div> là container chung không có ý nghĩa ngữ nghĩa — dùng khi chỉ cần nhóm để style hoặc layout. <section> đại diện cho phần nội dung có chủ đề liên quan, thường có <h2> hoặc heading đi kèm.
- Screen readers nhận diện
<section>là landmark region.
Ví dụ thực tế: một trang product dùng <section> cho phần mô tả, reviews, specs — không dùng <div> cho các khối nội dung có ý nghĩa riêng biệt.
<div> is a generic container with no semantic meaning — use it when you only need to group elements for styling or layout. <section> represents a thematically related block of content, typically accompanied by a heading (<h2>).
- Screen readers recognize
<section>as a landmark region. - Practical example: a product page uses
<section>for the description, reviews, and specs — not<div>for distinct content blocks.