There is no syntax checking that can gurantee the placement of tags. It’s up to the developer to keep that in mind.