summaryrefslogtreecommitdiff
path: root/Tests/LibWeb/tokenizer-test.html
blob: 0dde2442d0e7e255e6baaa702acbb01c90fb7430 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>This is a test page :^)</title>
    <script>
        let foo = 2;
        var bar = 3;
        if (foo < bar)
            alert("Check happens with HTML special <characters>.");
        let regex = /</g;
    </script>
</head>
<body>
    <p>This is the first paragraph.</p>
    <p foo="bar">The second paragraph has an attribute!</p>
    <!-- This is a standard HTML comment. -->
    <!----- This comment has a few too many dashes. ----->
    <!----> <!-- <= There is an empty comment over there. -->
</body>
</html>