fix invalid HTML in examples (#304)

For some reason the recent version of Trunk refused to serve some of the
examples due to them missing the <html> tags. Adding the tags calms it
down and allows it to work again. Trivial change, but would save someone
the pain of having to fix examples before running them with trunk serve.

Co-authored-by: Alex Pyattaev <me@example.com>
This commit is contained in:
Alex Pyattaev 2024-05-12 09:03:24 +03:00 committed by GitHub
parent 99688a6eef
commit c12aa851bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 3 deletions

View File

@ -1,4 +1,6 @@
<!DOCTYPE html>
<html>
<title>Pythagorean theorem</title>
<body></body>
<body></body>
</html>

View File

@ -1,4 +1,5 @@
<!DOCTYPE html>
<html>
<head>
<style>
.gray {
@ -18,4 +19,5 @@
<body>
<p>This is like the <code>counter</code> example, but does not use the typed
elements/events/attrs in <code>xilem_web</code>, instead using strings</p>
</body>
</body>
</html>

View File

@ -1,4 +1,5 @@
<!DOCTYPE html>
<html>
<head>
<style>
.gray {
@ -16,4 +17,5 @@
</style>
</head>
<body>
</body>
</body>
</html>

View File

@ -1,4 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<head>
<style>
.gray {
@ -17,3 +18,4 @@
</head>
<body>
</body>
</html>