• 2392 views
  • 0 comments
  • loading...

Make the body of a page

This helper makes the body of a page.


>>> print BODY('<hello>', XML('<b>world</b>'), _bgcolor='red')

<
body bgcolor="red">&lt;hello&gt;<b>world</b></body>

loading...

Sources / Reference

" Web2py Book"


Comments

loading...

Powered by
Web2py

Hosted on
www.pythonanywhere.com
(affiliated link)