<mark> highlight text có liên quan đến context hiện tại — ví dụ kết quả tìm kiếm (nền vàng mặc định). <strong> biểu thị tầm quan trọng cao (in đậm) — screen readers có thể đọc mạnh hơn. <em> nhấn mạnh ngữ điệu như nói chuyện (in nghiêng).
- Cả ba có ý nghĩa ngữ nghĩa.
- Ngược lại,
<b>và<i>chỉ là visual styling không có semantic meaning.
Ví dụ đúng: <strong>Cảnh báo:</strong> không tắt máy khi đang cập nhật.
<mark> highlights text relevant to the current context — e.g., search results (default yellow background). <strong> indicates high importance (bold) — screen readers may read it with stronger emphasis. <em> stresses spoken emphasis, like spoken tone (italic).
- All three carry semantic meaning.
- In contrast,
<b>and<i>are purely visual with no semantic meaning. - Correct usage:
<strong>Warning:</strong>do not power off during update.