forked from academind/xss-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
28 lines (28 loc) · 873 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cross-Site Scripting (XSS) Attacks</title>
<link rel="stylesheet" href="style.css" />
<script src="app.js" defer></script>
</head>
<body>
<section id="user-input">
<form>
<div class="form-control">
<label for="user-message">Your Message</label>
<textarea id="user-message" name="user-message"></textarea>
</div>
<div class="form-control">
<label for="message-image">Message Image</label>
<input type="text" id="message-image" name="message-image" />
</div>
<button type="submit">Send Message</button>
</form>
</section>
<section id="user-messages">
<ul></ul>
</section>
</body>
</html>