Files
slinky/testdata/test5.html

26 lines
865 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>URL Test HTML</title>
</head>
<body>
<h1>URL Test Links</h1>
<a href="https://example.com">Example</a>
<a href="http://example.com:8080/path?query=1">With Port</a>
<a href="htp://bad-protocol.com">Bad Protocol</a>
<a href="https://">Missing Domain</a>
<a href="http:///example.com">Extra Slash</a>
<a href="http://example..com">Double Dot</a>
<a href="https://this-domain-does-not-exist-123456789.com">Nonexistent Domain</a>
<a href="https://en.wikipedia.org/wiki/Main_Page">Wikipedia</a>
<h2>Images</h2>
<img src="https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png" alt="Valid Image">
<img src="http://example..com/pic.jpg" alt="Double Dot Image">
<img src="htp://invalid-url.com/image.png" alt="Bad Protocol Image">
</body>
</html>