parse the question and write HTML with question