Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the Document</title> </head> <body> <div id="div"></div> <script> div.before('<p>Welcome to W3Docs</p>', document.createElement('hr')); </script> </body> </html>