Handles <ul> elements.