Q. Which template tag is used to extend a base template?

  • (A) {% inherit 'base.html' %}
  • (B) {% include 'base.html' %}
  • (C) {% extend 'base.html' %}
  • (D) {% extends 'base.html' %}
πŸ’¬ Discuss
βœ… Correct Answer: (D) {% extends 'base.html' %}
Explanation: The `{% extends %}` tag is used to extend another template.
Explanation by: Mr. Dubey
The `{% extends %}` tag is used to extend another template.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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