HTML Attributes

[? HTML_CMDS div ul li a ?] [% menu = [ { text => 'One', link => 'one.html' }, { text => 'Two', link => 'two.html' }, { text => 'Three', link => 'three.html' }, ] %] [% div[id="header"] ul[class="menu"] for menu li a[href=item.link] item.text %] --EOF--
look inside...
Thus Spake Andy:

Attributes can be added to HTML commands. I chose square brackets because they're in keeping with the syntax and convention of XPath. But inside the brackets they're just regular TT3 expressions defining named parameters.