Add if to HtmlBuilder.