Advanced Merging HTML