code: def to_html(self):
          
  
          text = self.text
          if text is None:
              text = self.uri
          return '<a href="%s"%s>%s</a>' % (
              self.uri, self.html_attributes(), text)
docs: Render as html
  
          Args:
              None
  
          Returns:
              Str the html representation
  
          Raises:
              Errors are propagated