blob: 98042701a56e95e66f508bf65190cb0504ae7311 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<html>
<head>
<title>page6</title>
</head>
<script>
addEventListener('DOMContentLoaded', (event) => {
document.getElementById('anchorLink').click();
});
</script>
<body>
<div><a id="anchorLink" href="page2.html#anchor">go to another page</a></div>
</body>
</html>
|