HTML

Description

HTML (HyperText Markup Language) is a standard markup language for documents designed to be displayed in a web browser. In the context of AI agents, it is being adopted as a superior alternative to Markdown for complex outputs due to its ability to represent tabular data, design data (CSS), illustrations (SVG), and interactive elements (JavaScript).

From Using-Claude-Code-The-Unreasonable-Effectiveness-of-HTML

  • HTML provides higher information density than Markdown.
  • It allows for two-way interaction (e.g., sliders, knobs, export buttons) between the user and the AI agent.
  • HTML artifacts are more visually clear and easier to navigate than long Markdown files.
  • Claude Code can generate purpose-built HTML interfaces for tasks like reordering tickets, editing configs, or tuning prompts.