Suggest an editImprove this articleRefine the answer for “What is a structural directive?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)**A structural directive** in Angular is a directive that **changes the DOM structure** by adding, removing or repeating elements. **Key point:** structural directives control the HTML structure itself, deciding which elements should be added to or removed from the DOM.Shown above the full answer for quick recall.Answer (EN)Image**A structural directive** in Angular is a directive that **changes the DOM structure** by adding, removing or repeating elements. Details: 1. Usually applied with an **asterisk (**`*`**)** in the template, for example `*ngIf` or `*ngFor`. 2. Controls the **presence or number of elements** in the DOM, not just their styles or behavior. 3. Used for conditional rendering, loops or template switching. Examples: ```html <p *ngIf="isVisible">This text is shown only if isVisible = true</p> <ul> <li *ngFor="let item of items">{{ item }}</li> </ul> ``` > Conclusion: structural directives control **the HTML structure itself**, deciding which elements should be added to or removed from the DOM.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.