Outputs a block-level HTML element with nested content and sanitized attributes.
{% element name attributes? / %}
{% endelement %}
This method creates a new liquid context for storing and manipulating variables.
{% gallery %}
{% articles %}
Outputs a sanitized HTML element that is self-closed.
{% element name attributes? / %}
{% gallery %}
{% articles %}
Demonstrates how to output self-closing input element.
Output self-closing input element
CopyDemonstrates how to output content inside div.
Output content inside div
Copy