def _formatDict(d):
    """ Returns dict as string with HTML new-line tags <br> between key-value pairs. """
    s = ''
    for key in d:
        new_s = str(key) + ": " + str(d[key]) + "<br>"
        s += new_s
    return s[:-4]