1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Sample Page</title>
</head>
<body>
<header>
<nav id="main-nav">
<a href="/">Home</a>
<a href="/about">About</a>
</nav>
</header>
<main>
<h1>Welcome to the Sample</h1>
<p>This is a sample HTML file for testing.</p>
<section id="features">
<h2>Features</h2>
<ul>
<li>Semantic parsing</li>
<li>Landmark detection</li>
</ul>
</section>
<article>
<h2>Getting Started</h2>
<p>Follow these steps to begin.</p>
</article>
<div id="app">
<form>
<input type="text" name="query">
<button type="submit">Search</button>
</form>
</div>
</main>
<footer>
<p>© 2026 Sample Corp</p>
</footer>
<script src="main.js"></script>
<script>
function handleClick(event) {
const el = document.getElementById('target');
el.classList.toggle('active');
}
function setupListeners() {
document.querySelector('button').addEventListener('click', handleClick);
}
</script>
<style>
body { font-family: sans-serif; }
.container { max-width: 1200px; }
</style>
</body>
</html>