attributes passed to html->tag need to be an array