--- title: 'Liquid filters: placeholder_svg_tag' description: Generates an HTML `` tag for a given placeholder name. api_name: liquid source_url: html: 'https://shopify.dev/docs/api/liquid/filters/placeholder_svg_tag' md: 'https://shopify.dev/docs/api/liquid/filters/placeholder_svg_tag.md' --- # placeholder\_​svg\_​tag ```oobleck string | placeholder_svg_tag ``` returns [string](https://shopify.dev/docs/api/liquid/basics#string) Generates an HTML `` tag for a given placeholder name. Accepts the following placeholder names: | Outline illustrations | Color illustrations | | - | - | | * `product-1` * `product-2` * `product-3` * `product-4` * `product-5` * `product-6` * `collection-1` * `collection-2` * `collection-3` * `collection-4` * `collection-5` * `collection-6` * `lifestyle-1` * `lifestyle-2` * `image` | - `product-apparel-1` - `product-apparel-2` - `product-apparel-3` - `product-apparel-4` - `collection-apparel-1` - `collection-apparel-2` - `collection-apparel-3` - `collection-apparel-4` - `hero-apparel-1` - `hero-apparel-2` - `hero-apparel-3` - `blog-apparel-1` - `blog-apparel-2` - `blog-apparel-3` - `detailed-apparel-1` | ##### Code ```liquid {{ 'collection-1' | placeholder_svg_tag }} ``` ##### Output ```html ``` ## Rendered output ### class ```oobleck string | placeholder_svg_tag: string ``` Specify the `class` attribute for the `` tag. ##### Code ```liquid {{ 'collection-1' | placeholder_svg_tag: 'custom-class' }} ``` ##### Output ```html ``` ## Rendered output