-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
executable file
·41 lines (35 loc) · 1.42 KB
/
index.html
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
<!DOCTYPE html>
<html lang="nl">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Laad een extern html file</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<main>
<header>
<h1>Laad een extern HTML file in een Section</h1>
<form>
<p>Selecteer eerst het file dat geladen moet worden:</p>
<label>
<input checked type="radio" name="link" value="https://koopreynders.github.io/frontendvoordesigners/opdracht3/PE/data.html">
HTML met een H1 en P. <a href="https://koopreynders.github.io/frontendvoordesigners/opdracht3/PE/data.html">data.html</a>
</label>
<label>
<input type="radio" name="link" value="https://koopreynders.github.io/frontendvoordesigners/opdracht3/PE/data2.html">
Compleet HTML file met BODY en alles. <a href="https://koopreynders.github.io/frontendvoordesigners/opdracht3/PE/data2.html">data2.html</a>
</label>
<button type="submit" name="submit">Laad file</button>
</form>
</header>
<section>
Section waar het HTML file gerenderd zal worden.
</section>
</main>
<footer>
<a href="https://github.com/KoopReynders/frontendvoordesigners/tree/master/opdracht3/PE">source code</a>
</footer>
<script src="script.js"></script>
</body>
</html>