def htmlList(list):
    """
    Converts a list of strings to an HTML <ul><li> structure.
    """
    s = '<ul>'
    for x in list:
        s += '<li>' + str(x) + '</li>'
    s += '</ul>'
    return s
