Which file extension is typically used for Thymeleaf templates?

Which file extension is typically used for Thymeleaf templates?

A) .html
B) .jsp
C) .xhtml
D) .xml

Answer:

A) .html

Explanation:

Thymeleaf templates are typically stored with the .html file extension. This allows them to be both viewed as standard HTML documents in a web browser and processed by the Thymeleaf engine to generate dynamic content in web applications.

Reference links:

https://www.javaguides.net/p/thymeleaf-tutorial.html

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top