Question 3
Which of the following lines can be used in a template to inherit another base.html template that provides a basic, uniform layout?
{% expand 'base.html'%}
{% include 'base.html'%}
{% extends 'base.html'%}
{% inherits 'base.html' %}
Which of the following lines can be used in a template to inherit another base.html template that provides a basic, uniform layout?
{% expand 'base.html'%}
{% include 'base.html'%}
{% extends 'base.html'%}
{% inherits 'base.html' %}
Correct answer
{% extends 'base.html'%}
Question 3 of 32 in the IIT Madras BS Modern Application Development I (MAD 1) End Term paper sat on 11 Dec 2022, in the September 2022 term (IIT M DIPLOMA FN1 EXAM ETD1 11 Dec 2022). It carries 2 marks.