th
This commit is contained in:
parent
1f98b9c421
commit
1773671c5b
2 changed files with 8 additions and 9 deletions
|
@ -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>
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue