Html code generation based on the input of the associative array.