Crazy idea of new tag in html
<p>I want to create a tag named <code>&lt;triangle&gt;</code>. And I want to add new css attributes, like <code>width-a</code>, <code>width-b</code>, and <code>width-c</code>. (Widths of the three sides of the triangle).</p>

<p>I have already the calculations in JavaScript, and I know how to create tags and append them, and I know how to seek all <code>&lt;triangle&gt;</code> tags and change their styles.</p>

<p>But if the one who will use my library for <code>&lt;triangle&gt;</code> tags append a <code>&lt;triangle&gt;</code> tag in javascript, this will not be formated as it must. Then I thought of an interval, but there would be like a blink before the triangle appears.</p>

<p>Is there a way to modify the <code>appendChild</code> (or the <code>createElement</code>) function so that I modify the tag that will be appended before it's appended?</p>

<p>(Of course, any other way to make that someone could just write:</p>

<pre><code>var a=document.createElement("triangle");
a.style.borderA="100px";
a.style.borderB="100px";
a.style.borderC="100px";
document.body.appendChild(a);
</code></pre>

<p>will be accepted)</p>

<hr>

<p><sub>No jQuery please</sub></p>
