keygen and embed are auto-closing elements

keygen and embed elements should be auto-closing. 

Including explicit closing tags makes the generated HTML fail validation.