What is the Thymeleaf Template?

devquora
devquora

Posted On: Mar 16, 2020

 

Thymeleaf allows you to process six kinds of templates by default. This is called as the Template mode in the Thymeleaf.

The templates processed by the thymeleaf are HTML, XML, TEXT, JAVASCRIPT, CSS, and RAW.

The HTML template mode allows you to process any kind of HTML input like the HTML5, HTML4, and XHTML. Likewise,

The XML template mode allows you to process the XML input.

The TEXT template allows you to use a special syntax for templates of non-markup nature.

The JAVASCRIPT and CSS template modes allow you to process JavaScript and CSS files in the Thymeleaf application.

The RAW template mode is used for inserting untouched resources.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Thymeleaf Interview Questions

    What is Thymeleaf?

    Thymeleaf is a server-side modern Java template engine that is used for both the development of web and standalone environments. It brings elegant natural templates to your development workflow which ...

    Thymeleaf Interview Questions

    Enlist some features of Thymeleaf?

    Some of the major features in Thymeleaf are,It works for both web and non-web environments. With Thymeleaf, there is no hard dependency on the Servlet API. It has full and extensible internalizat...

    Thymeleaf Interview Questions

    In which programming language Thymeleaf is Written in?

    The Thymeleaf is written in Java programming language....