<!DOCTYPE html>
<html>
  <body onload="console.log('console.log works!')">
    <p>This page logs a line via console.log</p>
  </body>
</html>