construct table in HTML