By using the html attribute you can assign an element some HTML. It will replace the current HTML that is inside the element or elements you are targeting.
You can click here to restart the example.
By using the htmlCopyFrom attribute you can copy HTML from another element. In this example we replace the image with this text.
You can click here to restart the example.
For a full description of this behavior see the SetHtml Documentation Page.