# Attributes
| dj-attr | Dynamically assign attributes using Django template variables. |
|----------------|---------------------------------------------------------------------------------------|
| Syntax | `
Hello
Hello
{% endfor %}` | | dj-for-wrap | Wrap the element within a Django template for loop. | |----------------|-------------------------------------------------------------| | Syntax | `
` |
| dj-style | Modify the style attribute of a element with django variables. |
|----------------|--------------------------------------------------------------------------------------------|
| Syntax | `Hello, world!
Hello, world!
` | | dj-var | Replace the element's content with a Django template variable. | |----------------|----------------------------------------------------------------| | Syntax | `Hello, world!
` | | Example Output | `{{ greeting }}
` |