<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="utf-8">
    <title>Penulisan Event Handlers Inline JavaScript</title>
</head>
<body>
    <button type="button" onclick="alert('Halo Dunia!')">Klik Saya</button>
</body>
</html>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.