write html structure