add detail to html structure