ronald.denenea wrote:if the tags are customizable then the css and javascripts will be easier, and will lessen the use of id="", name="" class="". since it is easier to position things with divisions the tables are going away, so instead of having <table></table> or <div></div> allow tags like <rssfeed></rssfeed> or <randomjunkinthecorner>... existing tags will probably still exist, but it makes css much easier and shortens code. and allowing all attributes on all codes would allow for easier positioning of what used to be iframes, embed, img, and any other media, you could have a table and instead of nesting the i frame or video into the center cell, the cell itself would have a src="" attribute.
So I understand it that you have two requests:
1. Allow custom elements.
because:
a) <foo> is shorter than <div class=foo>
b) foo { } is shorter than .foo { }
c) getElementsByTagName() is simpler than getting elements by classes
(a) and (b) are valid but don't have much weight here. (c) should be addressed by getElementsByClassName().
Disadvantages of allowing custom elements:
a) it makes it harder to extend HTML in the future
b) it becomes impossible to catch typos in element names when validating
c) while some authors think they're being "semantic" with their custom elements, consumers don't understand the semantics at all.
2. Allow all attributes on all elements.
because:
a) You get less elements to apply styles to when using embedded elements.
Browser vendors have said that this is extremely hard if not impossible to implement. Moreover, some attributes have the same name but different meanings when set on different elements (like type='' on link, script, style, ol, menu, input, embed, object...). Finally, this would not be backwards compatible.