# ember/template-no-block-params-for-html-elements 💼 This rule is enabled in the 📋 `template-lint-migration` [config](https://github.com/ember-cli/eslint-plugin-ember#-configurations). Disallow block params on HTML elements. Block params (using the `as |param|` syntax) are a feature specific to Ember components and block helpers. They should not be used on regular HTML elements. ## Rule Details This rule disallows using block params on HTML elements. Use components if you need to pass block params. ## Examples ### Incorrect ❌ ```gjs ``` ```gjs ``` ```gjs ``` ### Correct ✅ ```gjs ``` ```gjs ``` ```gjs ``` ## Related Rules - [template-no-arguments-for-html-elements](./template-no-arguments-for-html-elements.md) ## References - [Ember Guides - Block Content](https://guides.emberjs.com/release/components/block-content/) - [eslint-plugin-ember template-no-yield-only](https://github.com/ember-cli/eslint-plugin-ember/blob/master/docs/rules/template-no-yield-only.md)