In Shopify, although Liquid has just launched since 2006, it plays an important role in Shopify business as the backbone of themes.
Liquidity tags also are so essential for the Shopify web contribution. Considered as the programming logic, Liquid tags will be an effective tool to tell templates what to do. There are several main tags that the Shopify users should differentiate such as
- Iteration tags: It is considered as a useful tool to run blocks of code when they are repeated.
- Control flow tags: It is created to make the decision if blocks of Liquid code get executed or not.
- Theme tags: It will be the source to define theme layouts and snippets, specify the template and break up returned arrays into more than one page.
- Variable tags: this tool is for creating new variables.
All the Tags are included in {% %} characters, for example, {% schema %}, {% javascript %} and {% stylesheet %}. However, there are some certain tags which enable taking on parameters such as for and cycle.
One of the Liquid tags is style element, which is contained multiply in each HTML document. With a Shopify data attribute, the Liquid structure such as {% style %} tag interprets as an HTML

