<html> <%= test.title %> <body> <p>some content</p><% x = 0; while x < 10 { %><p>x is<%= x %></p><% x = x + 1 %><% } %> </body> </html>