module documentation

A set of HTML generator tags for building HTML documents.

Usage:

>>> from lxml.html.builder import *
>>> html = HTML(
...            HEAD( TITLE("Hello World") ),
...            BODY( CLASS("main"),
...                  H1("Hello World !")
...            )
...        )

>>> import lxml.etree
>>> print lxml.etree.tostring(html, pretty_print=True)
<html>
  <head>
    <title>Hello World</title>
  </head>
  <body class="main">
    <h1>Hello World !</h1>
  </body>
</html>
Function CLASS Undocumented
Function FOR Undocumented
Constant DEL Undocumented
Constant E Undocumented
def CLASS(v):

Undocumented

def FOR(v):

Undocumented

DEL =

Undocumented

Value
getattr(E, 'del')
E =

Undocumented

Value
ElementMaker(makeelement=html_parser.makeelement)