Community & Business Groups

Let’s free A and HREF!

Take a look to this example:

<nav class="toolbar">
	<li><a herf="index.html">Home</a></li>
	<li><a href="about.html">About</a></li>
	<li><a href="downloads.html">Downloads</a></li>
	<li><a href="contact.html">Contact</a></li>
	<li><a href="javascript:bookmark()">Bookmark</a></li>

Isn’t better if it was possible to be written like this:

	<li herf="index.html">Home</li>
	<li href="about.html">About</li>
	<li href="downloads.html">Downloads</li>
	<li href="contact.html">Contact</li>
	<li href="javascript:bookmark()">Bookmark</li>	

or even:

	<command herf="index.html">Home</command>
	<command href="about.html">About</command>
	<command href="downloads.html">Downloads</command>
	<command href="contact.html">Contact</command>
	<command href="javascript:bookmark()">Bookmark</command>	

I mean why should I have to add <a> tag to every object/tag I want to link to something? Isn’t better if I were able to add href="" attribute to this object/tag without using <a> tag?

Why don’t we use href="" as a global attribute?

Likewise, think of using <a> tag without href="" when the link name = the link address:

.., you can download it from <a></a>.

instead of:

.., you can download it from <a href=""></a>.

8 Responses to Let’s free A and HREF!

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Before you comment here, note that this forum is moderated and your IP address is sent to Akismet, the plugin we use to mitigate spam comments.