changed the order of parameters of HtmlElement#initialize()