<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_html(self):
 """Render as html. """

        uri = resource_url(
            resources_path('img', 'logos', 'inasafe-logo-white.png'))
        snippet = (
            '<div class="branding">'
            '<img src="%s" title="%s" alt="%s" %s/></div>') % (
                uri,
                'InaSAFE',
                'InaSAFE',
                self.html_attributes())
        return snippet