The document describes how to use templates in Ring to write HTML code that includes Ring expressions and statements. Templates allow embedding Ring code within HTML files. The syntax uses <% %> tags to delimit Ring code. An example template is provided that generates an HTML table by iterating over a Ring list of numbers and displaying each number and its square. The Ring code to support the template populates the list and header values and renders the template within a web page.