Thank you a lot! Resolved duplicated ID error.
And how regarding second error
Error: Stray end tag span.