Chuyển đến nội dung
Skillpedia
SEO75k · #2864

h1

Skill này làm gì

Skill này kiểm tra tiêu đề H1 chính trên mỗi trang của website. Skill dành cho chủ site và người biên tập muốn chủ đề trang rõ ràng cho người đọc và công cụ tìm kiếm.

Khi nào nên dùng

  • ✓Khi một trang không có tiêu đề chính hoặc có nhiều hơn một.
  • ✓Khi tiêu đề chính chỉ là tên thương hiệu mà không có chủ đề.
  • ✓Khi bạn thiết lập một template tự động tạo tiêu đề trang.

Liên kết skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/h1/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/h1/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể kiểm tra mỗi trang trên site của tôi có một tiêu đề chính rõ ràng không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent đếm các thẻ H1 trên mỗi trang và kiểm tra mỗi thẻ có chứa một chủ đề cụ thể không. Agent gợi ý viết lại mọi tiêu đề không mô tả được trang.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Use a single descriptive H1

The H1 is the most prominent heading on a page and a strong on-page ranking signal. Google uses it to understand the page's primary topic. Missing, duplicate, or keyword-free H1 tags reduce topical clarity, hurting rankings for the page's target terms.

Quick Reference

  • Each page should have exactly one <h1> tag that describes the page's primary topic with relevant keywords
  • The H1 does not need to be identical to the <title> tag, but they should be topically consistent
  • Empty <h1> tags, multiple <h1> tags on one page, or H1s containing only the brand name are all issues to fix

Check

Parse the rendered DOM of each page. Count all <h1> elements. Flag: (1) Pages with zero <h1> tags. (2) Pages with more than one <h1> tag. (3) <h1> elements whose text content is empty or contains only whitespace. (4) <h1> elements that contain only the brand name with no page-specific topic. (5) <h1> text that does not reflect the page's primary content topic.

Fix

  1. Ensure every page template outputs exactly one <h1>.
  2. The H1 text should describe the page's specific topic, not just the site name.
  3. Include the primary target keyword naturally in the H1 — do not force it awkwardly.
  4. If the page has multiple sections with separate H1 candidates, choose one main topic and demote others to H2.
  5. Verify the H1 is visible in the rendered DOM (not hidden via CSS display:none or visibility:hidden).
  6. In Next.js/React: ensure the H1 is in the page component, not in the shared layout. Before: <h1>Acme Corp</h1> (brand only) After: <h1>Project Management Software for Enterprise Teams</h1>

Explain

Google's John Mueller has confirmed that H1 tags help Google understand page structure. While H1 is not the strongest ranking factor in isolation, it contributes to on-page topical relevance signals. Multiple H1 tags on one page dilute the primary topic signal; a missing H1 leaves a structural gap that reduces confidence in what the page is about.

Code Review

Query the DOM for all <h1> elements. Assert exactly one exists per page. Check that innerText.trim() is non-empty. Compare H1 text to the page <title> — they should share core topic keywords. Flag if H1 is inside a <header> element shared across all pages (often the site logo alt text) rather than specific to the page content.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/seo/h1

Câu hỏi thường gặp

H1 có phải khớp với tiêu đề trang không?

Không. Skill nói H1 không cần khớp với thẻ title, nhưng hai bên nên cùng bao quát một chủ đề.

H1 có nên chứa từ khóa không?

Skill gợi ý đưa từ khóa chính vào một cách tự nhiên, không cố ép.

Nếu một trang có nhiều chủ đề chính thì sao?

Skill gợi ý chọn một chủ đề chính cho H1 và biến các chủ đề khác thành tiêu đề H2.

Chi tiết

Mô tả gốc của tác giả

Use when auditing a page's heading structure, generating H1 text for landing pages or blog posts, or reviewing a CMS template that may produce empty or missing H1 elements.

repo: thedaviddias/Front-End-Checklist

Độ phổ biến

Sao GitHub
75k
Vị trí xếp hạng
#2864
Giấy phép
MIT
Cập nhật
31/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự