<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/metadata-for-ai-generated-outputs-jxsqay6nn" -->

---
title: Metadata for AI Generated Outputs | daily.dev
description: Explores how to semantically mark up HTML content that was generated by AI, so both humans and LLMs can identify synthetic text. Approaches examined include...
canonical: https://daily.dev/posts/metadata-for-ai-generated-outputs-jxsqay6nn
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Metadata for AI Generated Outputs | daily.dev
og:description: Explores how to semantically mark up HTML content that was generated by AI, so both humans and LLMs can identify synthetic text. Approaches examined include...
og:url: https://daily.dev/posts/metadata-for-ai-generated-outputs-jxsqay6nn
og:image: https://api.daily.dev/og/posts/jxsQAy6Nn.png
og:image:alt: Metadata for AI Generated Outputs
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Metadata for AI Generated Outputs

**[Terence Eden](https://daily.dev/sources/shkspr)** · 5 min read · 2 upvotes · 0 comments

## Summary

Explores how to semantically mark up HTML content that was generated by AI, so both humans and LLMs can identify synthetic text. Approaches examined include BCP 47 language subtags (e.g. lang="en-AI"), existing HTML elements like <samp> and <blockquote>, Schema.org microdata with an Organization author, and the W3C AI Content Disclosure group's proposed ai-disclosure attribute. Community suggestions include custom HTML elements, data attributes, DublinCore meta tags, and font-based signals. The post argues that clear labeling matters both for reader trust and to prevent model collapse from LLMs training on their own outputs.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://shkspr.mobi/blog/2026/08/metadata-for-ai-generated-outputs>

## Questions this post answers

### What HTML element is meant for showing output from another program or computing system?

The samp element is defined in the HTML specification to represent sample or quoted output from another program or computing system, making it a natural fit for marking up AI-generated text. The specification's own example wraps computer-generated output like an error message in samp tags, distinguishing it from human-authored prose surrounding it.

_daily.dev surfaces discussions like this for developers weighing how to mark up AI content in HTML._

### How is the W3C AI Content Disclosure group proposing to mark AI generated sections of a webpage?

The proposal uses an ai-disclosure attribute on elements such as section or aside, with values like none or ai-generated, plus optional ai-model and ai-provider attributes naming the specific model and vendor used. An example marks an aside with ai-disclosure="ai-generated" ai-model="gpt-4o" ai-provider="OpenAI" to flag a machine-written summary alongside human-reported content.

_Developers tracking emerging content-disclosure standards can follow proposals like this via daily.dev._

## Similar posts on daily.dev

- [Cloudflare’s new Markdown support shows how the web is evolving for AI agents](https://daily.dev/posts/cloudflare-s-new-markdown-support-shows-how-the-web-is-evolving-for-ai-agents-q2znpd5ib) · The New Stack · 2 upvotes · 0 comments
- [Schema Markup for Security Content: The Structured Data That Actually Gets Cybersecurity Vendors Cited by AI](https://daily.dev/posts/schema-markup-for-security-content-the-structured-data-that-actually-gets-cybersecurity-vendors-cit-vgdgqzqfm) · Security Boulevard · 0 upvotes · 0 comments
- [How to Build AI-Citable Documentation for ChatGPT, Perplexity, and Claude](https://daily.dev/posts/how-to-build-ai-citable-documentation-for-chatgpt-perplexity-and-claude-aarso3frk) · SitePoint · 0 upvotes · 0 comments
- [The Next Optimization Battle: Making Websites Understandable for AI Agents : fireup.pro](https://daily.dev/posts/the-next-optimization-battle-making-websites-understandable-for-ai-agents-fireup-pro-hfvkkoydy) · FireUp · 20 upvotes · 0 comments

---

Tags: [#llm](https://daily.dev/tags/llm), [#html](https://daily.dev/tags/html)

[View this post on daily.dev](https://daily.dev/posts/metadata-for-ai-generated-outputs-jxsqay6nn)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Metadata for AI Generated Outputs","url":"https://daily.dev/posts/metadata-for-ai-generated-outputs-jxsqay6nn","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/metadata-for-ai-generated-outputs-jxsqay6nn"},"datePublished":"2026-08-07T11:39:13.539Z","dateModified":"2026-09-13T21:45:28.247Z","description":"Explores how to semantically mark up HTML content that was generated by AI, so both humans and LLMs can identify synthetic text. Approaches examined include...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5546fa589075a9cb8277f30c15671d82?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5546fa589075a9cb8277f30c15671d82?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Terence Eden","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Terence Eden","logo":"https://media.daily.dev/image/upload/s--nhylgPuf--/f_auto,q_auto/v1774964413/logos/shkspr?_a=BAMAMiWQ0","url":"https://daily.dev/sources/shkspr"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/metadata-for-ai-generated-outputs-jxsqay6nn","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"llm,html","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Terence Eden","item":"https://daily.dev/sources/shkspr"},{"@type":"ListItem","position":3,"name":"Metadata for AI Generated Outputs"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/metadata-for-ai-generated-outputs-jxsqay6nn#faq","mainEntity":[{"@type":"Question","name":"What HTML element is meant for showing output from another program or computing system?","acceptedAnswer":{"@type":"Answer","text":"The samp element is defined in the HTML specification to represent sample or quoted output from another program or computing system, making it a natural fit for marking up AI-generated text. The specification's own example wraps computer-generated output like an error message in samp tags, distinguishing it from human-authored prose surrounding it. daily.dev surfaces discussions like this for developers weighing how to mark up AI content in HTML."}},{"@type":"Question","name":"How is the W3C AI Content Disclosure group proposing to mark AI generated sections of a webpage?","acceptedAnswer":{"@type":"Answer","text":"The proposal uses an ai-disclosure attribute on elements such as section or aside, with values like none or ai-generated, plus optional ai-model and ai-provider attributes naming the specific model and vendor used. An example marks an aside with ai-disclosure=\"ai-generated\" ai-model=\"gpt-4o\" ai-provider=\"OpenAI\" to flag a machine-written summary alongside human-reported content. Developers tracking emerging content-disclosure standards can follow proposals like this via daily.dev."}}]}
```

