Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

Template Attribute Language

< >

Template Attribute Language is a template language created in 2007.

#3378on PLDB 17Years Old

The Template Attribute Language (TAL) is a templating language used to generate dynamic HTML and XML pages. Its main goal is to simplify the collaboration between programmers and designers. This is achieved by embedding TAL statements inside valid HTML (or XML) tags which can then be worked on using common design tools. Read more on Wikipedia...


Example from the web:
<tal:if condition="context/itemlist"> </tal>
Example from Wikipedia:
<html metal:define-macro="icing"> ... <metal:myslot define-slot="optional-form"> ... </html> <html metal:use-macro="templates/page/macros/icing"> <form metal:fill-slot="optional-form" action="." tal:attributes="action context/designator"> ... </form> </html>

View source

- Build the next great programming language About Acknowledgements Extensions Day 630 Donate feedback@pldb.io