HTML Coder Skill
Expert skill for professional HTML development with focus on semantic markup, accessibility, HTML5 features, and standards-compliant web content.
When to Use This Skill
- Creating HTML documents with semantic structure
- Building accessible forms with HTML5 validation
- Implementing responsive markup and multimedia
- Using HTML5 APIs (Canvas, SVG, Storage, Geolocation)
- Troubleshooting validation or accessibility issues
Core Capabilities
- Semantic HTML: Document structure, content sections, accessibility-first markup
- Forms: All input types, validation attributes, fieldsets, labels
- Media: Responsive images, audio/video, Canvas, SVG
- HTML5 APIs: Web Storage, Geolocation, Drag & Drop, Web Workers
- Accessibility: ARIA, screen reader support, WCAG compliance
Essential References
Core documentation for HTML experts:
references/add-css-style.md - Add CSS via link tag, inline, or embedded in html
references/add-javascript.md - Add JavaScript via script src="link.js" tag, inline script, or embedded in html
references/attributes.md - HTML attribute essentials
references/essentials.md - Semantic markup, validation, responsive techniques
references/global-attributes.md - Complete global attribute information
references/glossary.md - Complete HTML element and attribute reference
references/standards.md - HTML5 specifications and standards
Best Practices
Semantic HTML - Use elements that convey meaning: <article>, <nav>, <header>, <section>, <footer>, not div soup.
Accessibility First - Proper heading hierarchy, alt text, labels with inputs, keyboard navigation, ARIA when needed.
HTML5 Validation - Leverage built-in validation (required, pattern, type="email") before JavaScript.
Responsive Images - Use <picture>, srcset, and loading="lazy" for performance.
Performance - Minimize DOM depth, optimize images, defer non-critical scripts, use semantic elements.
Quick Patterns
Semantic Page Structure
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Page Title</title>
</head>
<body>
<header><nav><!-- Navigation --></nav></header>
<main><article><!-- Content --></article></main>
<aside><!-- Sidebar --></aside>
<footer><!-- Footer --></footer>
</body>
</html>
Accessible Form
<form method="post" action="/submit">
<fieldset>
<legend>Contact</legend>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required
pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$">
<button type="submit">Send</button>
</fieldset>
</form>
Responsive Image
<picture>
<source media="(min-width: 1200px)" srcset="large.webp">
<source media="(min-width: 768px)" srcset="medium.webp">
<img src="small.jpg" alt="Description" loading="lazy">
</picture>
Troubleshooting
- Validation: W3C Validator (validator.w3.org), check unclosed tags, verify nesting
- Accessibility: Lighthouse audit, screen reader testing, keyboard nav, color contrast
- Compatibility: Can I Use (caniuse.com), feature detection, provide fallbacks
Key Standards
1---2name: build-html-pages-forms-content3description: "Expert HTML development skill for building web pages, forms, and interactive content. Use when creating HTML documents, structuring web content, implementing semantic markup, adding forms and media, working with HTML5 APIs, or needing HTML templates, best practices, and accessib…"4category: "Web & Scraping"5author: community6version: "2.0.1"7icon: globe8metadata:9 source: https://skillmd.com/skills/rondoflow/build-html-pages-forms-content10---1112# HTML Coder Skill1314Expert skill for professional HTML development with focus on semantic markup, accessibility, HTML5 features, and standards-compliant web content.1516## When to Use This Skill1718- Creating HTML documents with semantic structure19- Building accessible forms with HTML5 validation20- Implementing responsive markup and multimedia21- Using HTML5 APIs (Canvas, SVG, Storage, Geolocation)22- Troubleshooting validation or accessibility issues2324## Core Capabilities2526- **Semantic HTML**: Document structure, content sections, accessibility-first markup27- **Forms**: All input types, validation attributes, fieldsets, labels28- **Media**: Responsive images, audio/video, Canvas, SVG29- **HTML5 APIs**: Web Storage, Geolocation, Drag & Drop, Web Workers30- **Accessibility**: ARIA, screen reader support, WCAG compliance3132## Essential References3334Core documentation for HTML experts:3536- [`references/add-css-style.md`](references/add-css-style.md) - Add CSS via `link` tag, inline, or embedded in html37- [`references/add-javascript.md`](references/add-javascript.md) - Add JavaScript via `script src="link.js"` tag, inline `script`, or embedded in html38- [`references/attributes.md`](references/attributes.md) - HTML attribute essentials39- [`references/essentials.md`](references/essentials.md) - Semantic markup, validation, responsive techniques40- [`references/global-attributes.md`](references/global-attributes.md) - Complete global attribute information41- [`references/glossary.md`](references/glossary.md) - Complete HTML element and attribute reference42- [`references/standards.md`](references/standards.md) - HTML5 specifications and standards4344## Best Practices4546**Semantic HTML** - Use elements that convey meaning: `<article>`, `<nav>`, `<header>`, `<section>`, `<footer>`, not div soup.4748**Accessibility First** - Proper heading hierarchy, alt text, labels with inputs, keyboard navigation, ARIA when needed.4950**HTML5 Validation** - Leverage built-in validation (`required`, `pattern`, `type="email"`) before JavaScript.5152**Responsive Images** - Use `<picture>`, srcset, and `loading="lazy"` for performance.5354**Performance** - Minimize DOM depth, optimize images, defer non-critical scripts, use semantic elements.5556## Quick Patterns5758### Semantic Page Structure59```html60<!DOCTYPE html>61<html lang="en">62<head>63 <meta charset="UTF-8">64 <meta name="viewport" content="width=device-width, initial-scale=1.0">65 <title>Page Title</title>66</head>67<body>68 <header><nav><!-- Navigation --></nav></header>69 <main><article><!-- Content --></article></main>70 <aside><!-- Sidebar --></aside>71 <footer><!-- Footer --></footer>72</body>73</html>74```7576### Accessible Form77```html78<form method="post" action="/submit">79 <fieldset>80 <legend>Contact</legend>81 <label for="email">Email:</label>82 <input type="email" id="email" name="email" required83 pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$">84 <button type="submit">Send</button>85 </fieldset>86</form>87```8889### Responsive Image90```html91<picture>92 <source media="(min-width: 1200px)" srcset="large.webp">93 <source media="(min-width: 768px)" srcset="medium.webp">94 <img src="small.jpg" alt="Description" loading="lazy">95</picture>96```9798## Troubleshooting99100- **Validation**: W3C Validator (validator.w3.org), check unclosed tags, verify nesting101- **Accessibility**: Lighthouse audit, screen reader testing, keyboard nav, color contrast102- **Compatibility**: Can I Use (caniuse.com), feature detection, provide fallbacks103104## Key Standards105106- **WHATWG HTML Living Standard**: https://html.spec.whatwg.org/107- **WCAG Accessibility**: https://www.w3.org/WAI/WCAG21/quickref/108- **MDN Web Docs**: https://developer.mozilla.org/en-US/docs/Web/HTML109110---