This commit is contained in:
conzer 2024-12-06 01:28:20 -05:00
parent 1f98b9c421
commit 1773671c5b
2 changed files with 8 additions and 9 deletions

View file

@ -1,6 +1,9 @@
<hylia> <hylia>
<element name="header"> <element name="body">
<h1> Welcome to Hylia! </h1> I am in the body element.
<p>This is a reusable header component.</p> </element>
<p>I am not in the body element.</p>
<element name="outside">
I am outside the body element, but inside the outside element.
</element> </element>
</hylia> </hylia>

View file

@ -1,11 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head>
<title>Hello Hylia!</title>
</head>
<body> <body>
<h1>Hello Hylia!</h1> I am in the body element.
<p>This is an example content.</p>
<h1>Hello!</h1><br><h2>Hello again!</h2>
</body> </body>
I am outside the body element, but inside the outside element.
</html> </html>