1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00
serenity/Base/home/anon/www/images.html
Andreas Kling 06f084fedd LibHTML: Add the <center> element
This is really just "center { display: block; text-align: center; }" in
the default stylesheet, but it totally works!
2019-10-16 20:33:00 +02:00

20 lines
947 B
HTML

<html>
<head>
<title>Pretty pictures!</title>
</head>
<body>
<center>
<h1>Look, pictures!</h1>
<img alt="serenity logo (squished)" src="file:///res/icons/serenity.png" width="40" height="40" />
<img alt="serenity logo (normal)" src="file:///res/icons/serenity.png" width="64" height="64" />
<img alt="serenity logo (stretched)" src="file:///res/icons/serenity.png" width="100" height="100" />
<img alt="serenity logo (unspecified size)" src="file:///res/icons/serenity.png" />
<h1>Look, not pictures!</h1>
<img alt="invalid path (64x64)" src="file:///res/icons/file-does-not-exist.png" width="64" height="64" />
<img alt="invalid path (100x100)" src="file:///res/icons/file-does-not-exist.png" width="100" height="100" />
<img alt="invalid path (unspecified size)" src="file:///res/icons/file-does-not-exist.png" />
<img src="file:///res/icons/file-does-not-exist.png" />
</center>
</body>
</html>