I tried to create a new HTML element, called test:
HTMLUnknownElement.prototype.style.backgroundColor = "red";
There isn't really a reason to do that.
When you want to create an element with red background, you should use an existing element and assign a CSS class to it which has red background (like
<span class="test">) .