OscarGodson / HTML6

A spec to HTML6
http://html6spec.com
169 stars 25 forks source link

Creating links with attribute #28

Open cshaa opened 11 years ago

cshaa commented 11 years ago

I've been reading MathML specification and found that all the elements can have a href attribute and become a link. It would be great to have something like this in html.

Before:

<list>
 <item><html:a href="http://foo.com">Item1</html:a></item>
 <item>Item2</item>
</list>

After:

<list>
 <item html:href="http://foo.com">Item1</item>
 <item>Item2</item>
</list>

It's just an idea but I thing it's a great step towards removing another annoying HTML tag to learn (¡viva las simplicaciónes!)