html
Skill275 starsChanged 34 days agoApache-2.0View on GitHub
Guidelines for semantic HTML markup, document structure, forms, accessibility attributes, and modern HTML best practices
18 other projects use a version of this.
Adopted by
Most recently taken up by
- y-a-v-a/skillstheir own version, first seen Oct 24, 2026
- NazmusSayad/skillstheir own version, first seen Oct 13, 2026
- shreyam1008/shre-skillstheir own version, first seen Oct 9, 2026
- Pawel-Kica/ai-coding-100their own version, first seen Oct 8, 2026
- Pawel-Kica/claude-code-100their own version, first seen Sep 12, 2026
- Autocss-com/aitheir own version, first seen Sep 4, 2026
Used with
Projects with it also use thermo-nuclear-code-quality-review, prototype and 4 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
jaydubya818Skillthermo-nuclear-code-quality-review
Use when the user requests an intentionally strict maintainability review.
Also in 3 projects that use this
GoogleSkillprototype
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
Also in 4 projects that use this
GoogleSkillto-spec
Turn the current conversation into a spec and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.
Also in 3 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 4 projects that use this
- +2 more from google
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 18
- plannotator/effective-html★ 3.8ksame name
- Surething-io/cockpit★ 44same name
- eliasstravik/skills★ 22same name
- julianoczkowski/html★ 9same name
- nsmith/html★ 9same name
- ffsshhttiikk/opencode-agents-skills★ 2same name
- NazmusSayad/skills★ 2same name
- Pawel-Kica/ai-coding-100★ 2same name
- Pawel-Kica/claude-code-100★ 2same name
- arkan/skills★ 1same name
8 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository264 other files it gives its agents.
- accessibility-a11ySkill
- alpine-jsSkill
- analytics-data-analysisSkill
- android-developmentSkill
- angular-developmentSkill
- angularSkill
- anime-jsSkill
- anthropic-claude-developmentSkill
- api-developmentSkill
- apollo-graphqlSkill
- aspnet-coreSkill
- astroSkill
- auth0-authenticationSkill
- autogen-developmentSkill
- automl-hyperparameter-optimizationSkill
- aws-developmentSkill
- azureSkill
- backend-developmentSkill
- bash-scriptingSkill
- beautifulsoup-parsingSkill
- bitbucket-workflowSkill
- blazorSkill
- blender-python-addonSkill
- blockchainSkill
- bootstrapSkill
- business-central-developmentSkill
- cheerio-parsingSkill
- chrome-extension-developmentSkill
- ci-cd-best-practicesSkill
- clean-architectureSkill
- clean-codeSkill
- clerk-authenticationSkill
- cloudflare-developmentSkill
- computer-vision-opencvSkill
- convexSkill
- cppSkill
- c-sharpSkill
- cssSkill
- cypressSkill
- data-analysis-jupyterSkill
- data-analystSkill
- data-jupyter-pythonSkill
- deep-learning-pythonSkill
- deep-learning-pytorchSkill
- deep-learningSkill
- deno-typescriptSkill
- design-systemsSkill
- devopsSkill
- django-pythonSkill
- django-rest-api-developmentSkill
- dockerSkill
- dotnetSkill
- drizzle-ormSkill
- drupal-developmentSkill
- elasticsearch-best-practicesSkill
- electron-developmentSkill
- elixirSkill
- embedded-stm32Skill
- esbuild-bundlerSkill
- ethereumSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
46 rules. 0 are common, 16 are distinctive, and 30 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
16
Distinctive
This author's own choices. Worth a look.
30
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Write semantic HTML to improve accessibility and SEO
- Distinctive: line 14
Use appropriate elements for their intended purpose
- Distinctive: line 15
Ensure proper document structure and hierarchy
- Very specific: line 21
Use <header> for introductory content and navigation
- Very specific: line 22
Use <main> for the primary content (one per page)
- Very specific: line 23
Use <footer> for footer content
- Very specific: line 24
Use <nav> for navigation sections
- Very specific: line 25
Use <aside> for tangentially related content
- Very specific: line 28
Use <article> for self-contained, distributable content
- Very specific: line 29
Use <section> for thematic grouping of content
- Very specific: line 30
Use appropriate heading hierarchy (<h1> through <h6>)
- Very specific: line 31
Only one <h1> per page, representing the main topic
- Very specific: line 34
Use <p> for paragraphs
- Very specific: line 35
Use <ul>, <ol>, <dl> for lists appropriately
- Very specific: line 36
Use <blockquote> for quotations
- Very specific: line 37
Use <figure> and <figcaption> for illustrations
- Very specific: line 42
Use <button> for clickable actions that don't navigate
- Very specific: line 43
Use <a> for links that navigate to URLs
- Very specific: line 44
Always include href attribute on links
- Very specific: line 45
Never use <div> or <span> for clickable elements
- Very specific: line 48
Use <form> with proper action and method attributes
- Very specific: line 50
Use appropriate input types (email, tel, number, etc.)
- Very specific: line 57
Always include alt attribute for images
- Distinctive: line 58
Use descriptive alt text for informational images
- Very specific: line 59
Use empty alt="" for decorative images
- Very specific: line 60
Use srcset and sizes for responsive images
- Very specific: line 66
Use poster attribute for video thumbnails
- Distinctive: line 67
Consider autoplay impact on user experience
- Distinctive: line 72
Use ARIA when native HTML semantics are insufficient
- Distinctive: line 73
Prefer native HTML elements over ARIA when possible
- Distinctive: line 74
Ensure ARIA attributes match actual element behavior
- Distinctive: line 84
Use landmark roles to define page regions
- Distinctive: line 85
Ensure all content is within a landmark
- Very specific: line 86
Use role="main", role="navigation", etc., only when semantic elements aren't available
- Distinctive: line 94
Use appropriate meta tags for SEO
- Distinctive: line 100
Use lowercase for element names and attributes
- Very specific: line 103
Avoid <font>, <center>, <b>, <i> for styling
- Distinctive: line 104
Use CSS for visual presentation
- Very specific: line 105
Use <strong> and <em> for semantic emphasis
- Distinctive: line 109
When using HTMX for interactivity:
- Very specific: line 110
Use hx-get, hx-post attributes for server requests
- Very specific: line 112
Use hx-swap to control how content is inserted
- Very specific: line 114
Use hx-push-url for URL updates without full refresh
- Distinctive: line 120
Use Bootstrap components with proper markup structure
- Distinctive: line 122
Use Bootstrap's utility classes for spacing and typography
- Very specific: line 129
Use loading="lazy" for below-fold images
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
HTML Development Guidelines
Core Principles
- Write semantic HTML to improve accessibility and SEO
- Use appropriate elements for their intended purpose
- Ensure proper document structure and hierarchy
- Prioritize accessibility by using ARIA roles and attributes when needed
Semantic Elements
Document Structure
- Use
<header>for introductory content and navigation - Use
<main>for the primary content (one per page) - Use
<footer>for footer content - Use
<nav>for navigation sections - Use
<aside>for tangentially related content
Content Sections
- Use
<article>for self-contained, distributable content - Use
<section>for thematic grouping of content - Use appropriate heading hierarchy (
<h1>through<h6>) - Only one
<h1>per page, representing the main topic
Text Content
- Use
<p>for paragraphs - Use
<ul>,<ol>,<dl>for lists appropriately - Use
<blockquote>for quotations - Use
<figure>and<figcaption>for illustrations
Interactive Elements
Buttons and Links
- Use
<button>for clickable actions that don't navigate - Use
<a>for links that navigate to URLs - Always include
hrefattribute on links - Never use
<div>or<span>for clickable elements
Forms
- Use
<form>with properactionandmethodattributes - Associate labels with inputs using
forattribute - Use appropriate input types (
email,tel,number, etc.) - Group related inputs with
<fieldset>and<legend> - Include validation attributes (
required,pattern,min,max)
Media Elements
Images
- Always include
altattribute for images - Use descriptive alt text for informational images
- Use empty
alt=""for decorative images - Use
srcsetandsizesfor responsive images - Include
widthandheightto prevent layout shift
Video and Audio
- Provide captions and transcripts
- Include multiple source formats for compatibility
- Use
posterattribute for video thumbnails - Consider autoplay impact on user experience
Accessibility (ARIA)
When to Use ARIA
- Use ARIA when native HTML semantics are insufficient
- Prefer native HTML elements over ARIA when possible
- Ensure ARIA attributes match actual element behavior
Common ARIA Attributes
aria-labelfor accessible namesaria-describedbyfor additional descriptionsaria-hiddenfor decorative elementsaria-expandedfor expandable sectionsaria-livefor dynamic content updates
Landmarks
- Use landmark roles to define page regions
- Ensure all content is within a landmark
- Use
role="main",role="navigation", etc., only when semantic elements aren't available
Best Practices
Document Meta
- Include proper
<!DOCTYPE html>declaration - Set language attribute on
<html>element - Include viewport meta tag for responsive design
- Use appropriate meta tags for SEO
Code Quality
- Validate HTML using W3C validator
- Maintain consistent indentation
- Close all tags properly (including self-closing)
- Use lowercase for element names and attributes
Deprecated Elements
- Avoid
<font>,<center>,<b>,<i>for styling - Use CSS for visual presentation
- Use
<strong>and<em>for semantic emphasis
HTMX Integration
When using HTMX for interactivity:
- Use
hx-get,hx-postattributes for server requests - Leverage
hx-targetto specify update targets - Use
hx-swapto control how content is inserted - Implement
hx-confirmfor critical actions - Use
hx-push-urlfor URL updates without full refresh
Bootstrap Integration
When using Bootstrap:
- Leverage Bootstrap's grid system for layouts
- Use Bootstrap components with proper markup structure
- Include necessary ARIA attributes with components
- Use Bootstrap's utility classes for spacing and typography
- Minimize custom CSS by using Bootstrap classes
Performance
- Minimize DOM depth and complexity
- Load scripts with
deferorasyncwhen appropriate - Use
loading="lazy"for below-fold images - Preload critical resources with
<link rel="preload">
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

