Which file format is commonly used for templates in Flask?

Which file format is commonly used for templates in Flask?

a) .txt
b) .csv
c) .html
d) .json

Answer:

c) .html

Explanation:

Flask commonly uses HTML files for templates, allowing you to create dynamic web pages by embedding Python variables in the templates.

Reference:

Flask Quiz – MCQ Questions and Answers

Scroll to Top