broken-html
What it does
This skill checks the HTML structure of a page for errors such as unclosed tags or stray characters. It is for web teams who want pages that display consistently and index well.
When to use it
- ✓When a page looks different across browsers.
- ✓When a validator or audit reports unclosed tags or incorrect nesting.
- ✓When the head and body structure of a page looks wrong in the source.
Skill link
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/broken-html/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Check my homepage HTML for unclosed tags or stray characters and fix them.”
5 new skills a week. 1 minute to read.
How it works
The agent reviews the markup for unclosed tags, wrong nesting and unescaped characters, then corrects them to follow the HTML standard.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Fix malformed HTML structure
Malformed HTML can cause rendering issues across browsers and may prevent search engine crawlers from accurately parsing and indexing your content.
Quick Reference
- Ensure all HTML tags are properly closed and nested according to specifications
- Remove stray tags or unescaped characters from the source code
- Verify the document structure follows a logical hierarchy with valid head and body sections
Check
Validate the HTML structure of the page to identify any unclosed tags, incorrect nesting, or structural errors.
Fix
Correct the malformed HTML by properly closing tags and ensuring all elements are nested according to the HTML5 specification.
Explain
Explain how significant HTML errors can impact search engine bot crawling and the accessibility of a website.
Code Review
Review metadata generation, rendered HTML, structured data, and response headers related to Fix malformed HTML structure. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/seo/broken-html
FAQ
Can HTML errors hurt search?
The skill says significant errors can affect how search engine bots crawl and parse content.
Do errors affect accessibility too?
Yes. The skill notes that HTML errors can affect how a website is accessed.
What structure should the page follow?
A logical head and body structure, as described in the HTML5 specification.
Details
Original description by the author
Use when auditing metadata, crawlability, structured data, or indexability related to Fix malformed HTML structure. Verify the rendered HTML and HTTP response rather than relying only on source files.
Popularity
- GitHub stars
- 75k
- Ranking position
- #2759
- License
- MIT
- Updated
- 10/31/2026
Comments
- …
More skills from this repository
frontendchecklist
75kChecks frontend code and live pages against 380+ rules for accessibility, speed, SEO and security, using a command-line tool.
frontend-checklist-global
75kAudits a frontend project against all 386 Front-End Checklist rules, and gives a specific fix for each issue found.
404-page
75kChecks that your missing-page screen offers helpful links and returns a real 404 status, to help lost visitors find their way.
about-page
75kReviews whether your site has a clear About page that explains who runs it, to build trust with visitors and search engines.
Similar skills
competitive-platform-analysis
280kHelps understand your competitors. It identifies, categorizes, and filters competing companies before any deeper analysis.
competitive-report-structure
280kCreates comprehensive competitor reports. It combines information to show the overall landscape, recommendations, and helps align the team.
lead-intelligence
280kHelps your agent find and contact important people. It analyzes leads, suggests approaches, and manages outreach via email and social media.