<html>
	<head>
		<meta charset="utf-8"/>
	</head>
	<script>
		window.onload = function () {
			document.getElementById('target').textContent = 'This is a test.';
		};
	</script>
	<body>
		<p id="target"/>
	</body>
</html>