Is it possible to create HTML functions like you can do with... I don't know... JS?
Could you do something like this?
<!DOCTYPE html>
<html version=5>
<body>
<function name="para" attr1="text">
<p localName="para"></p>
<script type="functionHTML/javaScript">
function.data("attr1")includes = getLocalElementByName("para")
</script>
</function>
<-para text="Hello World!"></-para>
</body>
</html>
This would come out on the webpage as:
Hello World!