Two New HTML TAGS suggestion for HTML Specs

Hello Everybody

I am Sergio Abreu, Brazilian programmer, and a Web lover.

I was upgrading one amazing tool that I created (the Javascript Self 
Explorer) and I had one insight:

I was editing these two lines (for instance):
<a href="mywebsite.jsp">mywebsite.jsp</a>
and
<a href="mailto:myemail@myprovider">myemail@myprovider</a>

Could you recognize a pattern in these two examples above ? Why to 
repeat the same things in href and innerHTML?
It is redundance and I think it could be easier and faster to code if 
HTML Specification had these two new tags (you can decide among: web, 
link, mail and email).

So, I decide to test these two personalized XML tags:
<web>mywebsite.jsp</web> (could be <link> as well)
and
<mail>myemail@myprovider</mail>  (could be <email> as well)

When the page loads all web and email elements content are automatically 
transformed in links.
Up to now, it is done by Javascript, in the onload event.
What I think would be amazing was if web browsers had this intelligence, 
and those tags would be included in the next HTML Specification.

I know I could be anybody to suggest something, but I also believe that 
anybody that uses the Web could have good ideas to improve it.

You can see my Javascript Self explorer at 
<web>http://sitedosergio.sitesbr.net/tools</web>

Ops, our browsers are not prepared to render those links yet... Hope 
they do it soon !

Best Regards

Sergio Abreu
São Paulo - Brazil
 

Received on Sunday, 18 October 2009 21:30:44 UTC