It also allows you to generate HTML strings from the same code and create templates, with template inheritance, using the same sort of syntax.