'Adds an entire element.  This is the same as calling `start`,
`data`, and `end` in sequence. The ``text`` argument
can be omitted.'

def element(self, tag, text=None, wrap=False, attrib={}, **extra):

    self.start(tag, attrib, **extra)
    if text:
        self.data(text)
    self.end(indent=False, wrap=wrap)
