Html document structure
1 html2 head3 @title4 body5 header6 section7 footer
<!--
artifact generator: /app/node_modules/@wizzi/plugin.html/lib/artifacts/html/document/gen/main.js
package: wizzi-web@
primary source IttfDocument: json:/index.html.ittf
utc time: Tue, 06 May 2025 00:39:29 GMT
-->
<!doctype html>
<html>
<head>
<title></title>
</head>
<body>
<header></header>
<section></section>
<footer></footer>
</body>
</html>
style tag with inclusion of a css wizzi model
1 html2 head3 @style4 css5 < body6 font-family arial, verdana, sans-serif7 font-size 13px8 < h1, h2, h39 margin 010 . wrapper11 margin 1rem 0.5rem
<!--
artifact generator: /app/node_modules/@wizzi/plugin.html/lib/artifacts/html/document/gen/main.js
package: wizzi-web@
primary source IttfDocument: json:/index.html.ittf
utc time: Tue, 06 May 2025 00:39:29 GMT
-->
<!doctype html>
<html>
<head>
<style>
body {
font-family: arial, verdana, sans-serif;
font-size: 13px;
}
h1, h2, h3 {
margin: 0;
}
.wrapper {
margin: 1rem 0.5rem;
}
</style>
</head>
</html>
script tag with inclusion of a js wizzi model
1 html2 body3 script4 module5 function sayHello6 log 'Hello'7 _ sayHello
<!--
artifact generator: /app/node_modules/@wizzi/plugin.html/lib/artifacts/html/document/gen/main.js
package: wizzi-web@
primary source IttfDocument: json:/index.html.ittf
utc time: Tue, 06 May 2025 00:39:29 GMT
-->
<!doctype html>
<html>
<body>
<script>
function sayHello() {
console.log('Hello', __filename);
}
sayHello();
</script>
</body>
</html>
json tag (not standard) with inclusion of a json model
1 html2 body3 json profile4 {5 name 'stefi'6 job 'wizzi'7 script8 module9 var p10 _ JSON.parse11 @ document.querySelector('#profile').text12 log 'profile.name', p.name13 log 'profile.job', p.job
<!--
artifact generator: /app/node_modules/@wizzi/plugin.html/lib/artifacts/html/document/gen/main.js
package: wizzi-web@
primary source IttfDocument: json:/index.html.ittf
utc time: Tue, 06 May 2025 00:39:29 GMT
-->
<!doctype html>
<html>
<body>
<script type="application/json" id="profile" >
{
"name": "stefi",
"job": "wizzi"
}
</script>
<script>
var p = JSON.parse(document.querySelector('#profile').text);
console.log('profile.name', p.name, __filename);
console.log('profile.job', p.job, __filename);
</script>
</body>
</html>
script tag with inclusion of a json model
1 html2 head3 body4 div5 a6 href https://github.com/stfnbssl/wizzi7 svg8 rect9 x 1010 y 1011 width 20012 height 100
<!--
artifact generator: /app/node_modules/@wizzi/plugin.html/lib/artifacts/html/document/gen/main.js
package: wizzi-web@
primary source IttfDocument: json:/index.html.ittf
utc time: Tue, 06 May 2025 00:39:29 GMT
-->
<!doctype html>
<html>
<head></head>
<body>
<div>
<a href="https://github.com/stfnbssl/wizzi"><svg xmlns='http://www.w3.org/2000/svg'>
<rect x='10' y='10' width='200' height='100'></rect>
</svg>
</a>
</div>
</body>
</html>