---
title: HTML - Storefront API
description: >-
  A string containing HTML code. Refer to the [HTML
  spec](https://html.spec.whatwg.org/#elements-3) for a

  complete list of HTML elements.


  Example value: `"<p>Grey cotton knit sweater.</p>"`
api_version: 2026-10
source_url:
  html: 'https://shopify.dev/docs/api/storefront/latest/scalars/HTML'
  md: 'https://shopify.dev/docs/api/storefront/latest/scalars/HTML.md'
api_name: storefront
api_type: graphql
type: scalar
---

# HTML

scalar

A string containing HTML code. Refer to the [HTML spec](https://html.spec.whatwg.org/#elements-3) for a complete list of HTML elements.

Example value: `"<p>Grey cotton knit sweater.</p>"`

## Map

### Fields with this scalar

* [Article.contentHtml](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.contentHtml)
* [Article.excerptHtml](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.excerptHtml)
* [Collection.descriptionHtml](https://shopify.dev/docs/api/storefront/latest/objects/Collection#field-Collection.fields.descriptionHtml)
* [Comment.contentHtml](https://shopify.dev/docs/api/storefront/latest/objects/Comment#field-Comment.fields.contentHtml)
* [Page.body](https://shopify.dev/docs/api/storefront/latest/objects/Page#field-Page.fields.body)
* [Product.descriptionHtml](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.descriptionHtml)
