''

def select_tag(self, html, title=False):

    if self.exclude_tag(html):
        return None
    if isinstance(html, TABLE):
        return self.parse_table(html)
    elif isinstance(html, A):
        return self.parse_a(html)
    elif isinstance(html, (P, H1, H2, H3, H4, H5, H6)):
        return self.parse_p(html)
    elif isinstance(html, IMG):
        return S3html2pdf.parse_img(html)
    elif isinstance(html, DIV):
        return self.parse_div(html)
    elif (isinstance(html, basestring) or isinstance(html, lazyT)):
        if ('<' in html):
            html = s3_strip_markup(html)
        if title:
            para = [Paragraph(biDiText(html), self.boldstyle)]
        else:
            para = [Paragraph(biDiText(html), self.normalstyle)]
        self.normalstyle = self.plainstyle
        return para
    return None
