Close body and html element to form a valid document