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>
<element name="header">
<h1> Welcome to Hylia! </h1>
<p>This is a reusable header component.</p>
<element name="body">
I am in the body element.
</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>
</hylia>

View file

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