crop_rotate
Run
<!DOCTYPE html> <html> <head> <title>createElement JavaScript</title> </head> <body> <hr> <script> // 1- Create new element let apple = document.createElement('h1'); // 2- Add Text to element apple.innerText = "Welcome To CloseTag.com"; // 3- Append Child to Parent body document.body.appendChild(apple); </script> </body> </html>
PCFET0NUWVBFIGh0bWw+DQo8aHRtbD4NCjxoZWFkPg0KPHRpdGxlPmNyZWF0ZUVsZW1lbnQgSmF2YVNjcmlwdDwvdGl0bGU+DQo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPiA6Oi13ZWJraXQtc2Nyb2xsYmFye3dpZHRoOjdweDtoZWlnaHQ6N3B4O306Oi13ZWJraXQtc2Nyb2xsYmFyLXRyYWNre2JhY2tncm91bmQ6I2ZmZjt9Ojotd2Via2l0LXNjcm9sbGJhci10aHVtYntib3JkZXItcmFkaXVzOjVweDtiYWNrZ3JvdW5kOiMyZjQ1ZmY7fTwvc3R5bGU+PC9oZWFkPg0KPGJvZHk+DQogICA8aHI+DQogICAgPHNjcmlwdD4NCiAgICAgICAgLy8gMS0gQ3JlYXRlIG5ldyBlbGVtZW50DQogICAgICAgIGxldCBhcHBsZSA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2gxJyk7DQogICAgICAgIC8vIDItIEFkZCBUZXh0IHRvIGVsZW1lbnQNCiAgICAgICAgYXBwbGUuaW5uZXJUZXh0ID0gIldlbGNvbWUgVG8gQ2xvc2VUYWcuY29tIjsNCiAgICAgICAgLy8gMy0gQXBwZW5kIENoaWxkIHRvIFBhcmVudCBib2R5DQogICAgICAgIGRvY3VtZW50LmJvZHkuYXBwZW5kQ2hpbGQoYXBwbGUpOw0KICAgIDwvc2NyaXB0Pg0KPC9ib2R5Pg0KPC9odG1sPg==