Replace text within an element with another element. Handles all the DOM manipulations.