Static Text

Static text is just any text that doesn't appear inside a code block or expression block in the template.

See Code Block and Expression Block for more information on those.


The current date and time is now: <%= DateTime.Now %>.

Here there is two such static text blocks:
  • "The current date and time is now: ", ending with a space
  • ".", the full stop that appears after the expression block

Last edited Jan 20, 2011 at 10:34 PM by lassevk, version 1


No comments yet.