Wednesday, March 11, 2009

Title Attributes in Anchor Tags

Here's a random thought. I wish browsers would automatically add missing title attributes to anchor tags.

<a href="google.com">Google</a> becomes <a href="google.com" title="Google">Google</a>

Also, just to clear up some confusion, it's a title attribute, not a title tag. A <title> tag goes in the document <head> and specifies the title of the entire document.

1 comment:

  1. While the browser is adding missing attributes, they might as well fix my broken Javascript.

    ReplyDelete

Note: Only a member of this blog may post a comment.