code: def end_element (self, tag):
          
          tag = tag.encode(self.encoding, "ignore")
          self.fd.write("</%s>" % tag)
docs: Print HTML end element.
  
          @param tag: tag name
          @type tag: string
          @return: None