fixed element attributes and mismatched closing tag