dealing with self-closing tags (<meta>,<br>,etc)