lychee/fixtures/TEST_HTML5.html
Matthias 812663d832
Prevent flaky tests (#514)
Move from example.org to example.com, which seems to be more permissive for testing
2022-02-18 10:29:49 +01:00

27 lines
967 B
HTML
Vendored

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="home" href="https://example.com/head/home" />
<title>Test</title>
<meta name="description" content="Test HTML5 parsing (not valid XML)" />
<!-- The links below have no closing tags (not valid XML) -->
<link rel="icon" type="image/png" sizes="32x32" href="images/icon.png" />
<link
rel="stylesheet"
type="text/css"
href="https://example.com/css/style_full_url.css"
/>
<link rel="stylesheet" type="text/css" href="css/style_relative_url.css" />
<!-- The defer attribute has no value (not valid XML) -->
<script defer src="js/script.js"></script>
</head>
<body>
Hello world.
<a href="https://example.com/body/a">Link in body</a>
<!-- Empty a tag might be problematic (in terms of browser support), but should still be parsed -->
<div><a href="https://example.com/body/div_empty_a" /></div>
</body>
</html>