Related ToolsClaude CodeClaudeBolt NewCursorAider

Claude Code's Surprising Strength: HTML That Actually Works

Claude by Anthropic
Image: Anthropic

What happens when an AI coding assistant turns out to be genuinely better at one thing than everything else? Developer and researcher Simon Willison explored exactly that question in a blog post about the unreasonable effectiveness of HTML when using Claude Code.

The core observation: Claude Code handles HTML with a consistency and quality that outpaces its work in other languages. The output isn't just syntactically correct - it tends to be well-structured, practically usable, and doesn't require the usual rounds of cleanup. Willison published a set of live examples on GitHub demonstrating the results.

This matters for a specific type of work. Marketers building quick landing pages, content creators who need a functional prototype, freelancers who want a styled document or report without spinning up a full frontend project - plain HTML delivered by Claude Code gets surprisingly far without much hand-holding.

The practical implication is a workflow shift worth considering. Instead of asking Claude Code to scaffold a React component or a TypeScript module for something simple, ask it to produce an HTML file first. Single-file HTML is easy to preview instantly in a browser, easy to share, and requires zero build tooling. If the result is good enough, you're done. If you need to go further, you have a working prototype to build from.

This isn't an argument that Claude Code is bad at other things - it's a reminder that the simplest output format is sometimes the best starting point. When your goal is a working result rather than production-grade architecture, HTML is often the fastest path there.