if('style' in htmlAttribute ) { for( var i in htmlAttribute['style'] ) { html.style[i] = htmlAttribute['style'][i] } }