Suggest an editImprove this articleRefine the answer for “What does the selector property do in the @Component decorator?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)**`selector`** in the `@Component` decorator sets the HTML tag name through which the component can be inserted into the templates of other components. **Key point:** selector is the component's entry point into the DOM.Shown above the full answer for quick recall.Answer (EN)ImageThe `selector` property in the `@Component` decorator sets the **HTML tag name** through which the component can be inserted into the templates of other components. Example: ```typescript @Component({ selector: 'app-my-component', template: `<p>Hello!</p>` }) export class MyComponent {} ``` Now it can be used in any template: ```html <app-my-component></app-my-component> ``` Angular recognizes this tag and inserts the component's template and logic inside it. > Conclusion: `selector` is the component's entry point into the DOM.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.