<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="utf-8">
    <title>JavaScript Event Load</title>
</head>
<body onload="window.alert('Halaman berhasil dimuat!');">
    <h1>Ini adalah heading</h1>
    <p>Ini adalah paragraph teks.</p>
</body>
</html>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.