---
title: AppBlockValidTags
description: Identifies forbidden Liquid tags in theme app extension code.
source_url:
  html: >-
    https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/app-block-valid-tags
  md: >-
    https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/app-block-valid-tags.md
api_name: liquid
---

# App​Block​Valid​Tags

Identifies forbidden Liquid tags in [theme app extension](https://shopify.dev/docs/apps/build/online-store/theme-app-extensions) app block and app embed block code.

Forbidden tags include:

* `{% javascript %}`
* `{% stylesheet %}`
* `<Partial filePath="foo" />`
* `{% layout 'foo' %}`
* `{% section 'foo' %}`
* `{% sections 'foo' %}`

***

## Disabling this check

This check is enabled by default when you run the Shopify CLI [`build`](https://shopify.dev/docs/api/shopify-cli/app/app-build) command on an app that contains a theme app extension. Disabling this check isn't recommended.

This check is disabled by default when you run the Shopify CLI 2.x [`shopify theme check`](https://shopify.dev/docs/storefronts/themes/tools/theme-check/commands) command.

***
