Q. Which template tag is used to define content blocks?

  • (A) {% section %}
  • (B) {% block %}
  • (C) {% yield %}
  • (D) {% define %}
πŸ’¬ Discuss
βœ… Correct Answer: (B) {% block %}
Explanation: `{% block %}` is used to define content sections in templates.
Explanation by: Mr. Dubey
`{% block %}` is used to define content sections in templates.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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