Q. Which template tag is used for conditional logic?

  • (A) {% switch %}
  • (B) {% choose %}
  • (C) {% if %}
  • (D) {% where %}
πŸ’¬ Discuss
βœ… Correct Answer: (C) {% if %}
Explanation: `{% if %}` is used to apply conditional logic in templates.
Explanation by: Mr. Dubey
`{% if %}` is used to apply conditional logic in templates.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
109
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate