With jQuery, it is easy to remove existing HTML elements.
Remove Elements/Content
To remove elements and content, there are mainly two jQuery methods:
remove()
– Removes the selected element (and its child elements)empty()
– Removes the child elements from the selected element