crop_rotate
Run
<!DOCTYPE html> <html> <head> <!--script to insert specified element to the specified position--> <script> function insadjele() { var s = document.getElementById("d1"); var h = document.getElementById("head3"); h.insertAdjacentElement("afterend", s); } </script> </head> <body> <h1> Welcome To CloseTag </h1> <div id="d1">div element</div> <h3 id="head3">header element</h3> <p>Click the button to insert div element after the header element</p> <button onclick="insadjele()">Insert element</button> </body> </html>
PCFET0NUWVBFIGh0bWw+DQo8aHRtbD4NCg0KPGhlYWQ+DQoJPCEtLXNjcmlwdCB0byBpbnNlcnQgc3BlY2lmaWVkDQoJCWVsZW1lbnQgdG8gdGhlIHNwZWNpZmllZCBwb3NpdGlvbi0tPg0KCQ0KCTxzY3JpcHQ+DQoJCWZ1bmN0aW9uIGluc2FkamVsZSgpIHsNCgkJCXZhciBzID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoImQxIik7DQoJCQl2YXIgaCA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCJoZWFkMyIpOw0KCQkJDQoJCQloLmluc2VydEFkamFjZW50RWxlbWVudCgiYWZ0ZXJlbmQiLCBzKTsNCgkJfQ0KCTwvc2NyaXB0Pg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4gOjotd2Via2l0LXNjcm9sbGJhcnt3aWR0aDo3cHg7aGVpZ2h0OjdweDt9Ojotd2Via2l0LXNjcm9sbGJhci10cmFja3tiYWNrZ3JvdW5kOiNmZmY7fTo6LXdlYmtpdC1zY3JvbGxiYXItdGh1bWJ7Ym9yZGVyLXJhZGl1czo1cHg7YmFja2dyb3VuZDojMmY0NWZmO308L3N0eWxlPjwvaGVhZD4NCg0KPGJvZHk+DQoJPGgxPiBXZWxjb21lIFRvIENsb3NlVGFnIDwvaDE+DQoNCgk8ZGl2IGlkPSJkMSI+ZGl2IGVsZW1lbnQ8L2Rpdj4NCgk8aDMgaWQ9ImhlYWQzIj5oZWFkZXIgZWxlbWVudDwvaDM+DQoNCgk8cD5DbGljayB0aGUgYnV0dG9uIHRvIGluc2VydA0KCWRpdiBlbGVtZW50IGFmdGVyIHRoZSBoZWFkZXIgZWxlbWVudDwvcD4NCg0KCTxidXR0b24gb25jbGljaz0iaW5zYWRqZWxlKCkiPkluc2VydCBlbGVtZW50PC9idXR0b24+DQoNCjwvYm9keT4NCg0KPC9odG1sPg==