Haml is a markup language that's used to cleanly and simply describe the XHTML of any web document without the use of inline code, using indentation rather than closing tags and allowing Ruby to be embedded with ease. Haml functions as a replacement for inline page templating systems such as PHP, ASP, and ERB, the templating language used in most Ruby on Rails applications. However, Haml avoids the need for explicitly coding XHTML into the template, because it itself is a description of the XHTML, with some code to generate dynamic content.