Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the Document</title> </head> <body> <p> Before scripts </p> <script> document.addEventListener('DOMContentLoaded', () => alert("DOM ready!")); </script> <script src="https://www.w3docs.com/js/long.js"></script> <script src="https://www.w3docs.com/js/small.js"></script> <p> After scripts </p> </body> </html>