I'm interested in being able to write something like:
<mycustomtag>bob</mycustomtag>
And have it produce:
<div>I'm a template <h2>bob</h2> </div>
Do you think it's possible to achieve this?
Just to clarify, I am not considering using JavaScript for this task. I am solely looking into accomplishing this with plain HTML/CSS. Is it technically feasible for an HTML element to create more elements via CSS alone?