Add proper elements <element name="head"> will now be treated as <head>. WARNING: I WAS A STUPID NINCOMPOOP AND BROKE NESTING ELEMENTS!!!

This commit is contained in:
conzer 2024-12-05 20:57:48 -05:00
parent cb7a238c80
commit 89fff8112f
8 changed files with 111 additions and 26 deletions

18
examples/output.html Normal file
View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title>Hello Hylia!</title>
</head>
<body>
<header />
<p>This is the main content.</p>
</body>
<h1> Welcome to Hylia! </h1>
<p>This is a reusable header component.</p>
</html>