# ember/template-no-link-to-tagname 💼 This rule is enabled in the 📋 `template-lint-migration` [config](https://github.com/ember-cli/eslint-plugin-ember#-configurations). > Disallow tagName attribute on LinkTo component ## Rule Details The `tagName` attribute on `` components is deprecated. Use the appropriate HTML element or component instead. ## Examples Examples of **incorrect** code for this rule: ```gjs ``` ```gjs ``` Examples of **correct** code for this rule: ```gjs ``` ```gjs ``` ## Migration - Remove the `tagName` overrides and, if you need it, adjust the styling of the `` elements to make them look like buttons ## Related rules - [no-input-tagname](template-no-input-tagname.md) - [no-unknown-arguments-for-builtin-components](template-no-unknown-arguments-for-builtin-components.md) ## References - [eslint-plugin-ember template-no-link-to-tagname](https://github.com/ember-cli/eslint-plugin-ember/blob/master/docs/rules/template-no-link-to-tagname.md)