def METHOD_NAME(self):
    out = ""
    out += "["
    if self.closing:
        out += '/'
    out += self.name
    if self.value != "":
        out += "=" + self.value
    for key, value in self.options.items():
        out += " " + key
        if value != "":
            out += "=" + value
    out += "]"
    return out