# HTML Filters These filters help generate HTML elements such as images, scripts, and stylesheets in Liquid templates. They simplify the process of embedding assets and ensure correct HTML output. Use these filters to dynamically insert images, scripts, and stylesheets into your templates. ## img_tag Creates an img element. **Input** ```liquid {{ 'my-image.png' | img_tag }} {{ 'my-image.png' | img_tag: 'My Image', 'image-class' }} {{ product.image | img_tag }} ``` **Output** ```html My Image ``` --- ## script_tag Creates a script tag. **Input** ```liquid {{ '/asset/my-script.js' | script_tag }} ``` **Output** ```html ``` --- ## stylesheet_tag Creates a stylesheet tag, accepts media type as a first argument and media type as a second argument. **Input** ```liquid {{ '/asset/stylesheet.css' | stylesheet_tag }} ``` **Output** ```html ```