# Template tags *Django Tailwind* introduces a couple of template tags for your convenience. ## {% tailwind_css %} tag ### Usage The `{% tailwind_css %}` tag generates a stylesheet link for the `'theme'` app and that's all you need to include *Tailwind's CSS* on a page: ```html {% load tailwind_tags %} Django Tailwind {% tailwind_css %} ``` ### Asset versioning The tag also supports asset versioning via the `v=` parameter, like this: ```html {% tailwind_css v='1' %} ``` Depending on your production setup, you may or may not need this functionality, so it's optional. ## {% tailwind_preload_css %} tag The tag generates a preload directive for your stylesheet, which improves loading performance in production. Place it above the `{% tailwind_css %}` tag: ```html {% load tailwind_tags %} Django Tailwind {% tailwind_preload_css %} {% tailwind_css %} ``` It also supports asset versioning (if needed): ```html {% tailwind_preload_css v='1' %} ```