The "a" Element

Additional links:

The "a" element, with an "href" attribute, represents a hyperlink labeled by its contents.

Attributes for "a"
TypeAttribute List
'Standard' Attributes"href", "hreflang", "rel", "target", and "type"
New HTML5 Attributes"data-title", "download", and "ping"
Obsolete Attributes"urn", "shape", "rev", "name", "methods", "coords", and "charset"

Recommended Links

Accessibility Information & Tips

Search Engine Optimization (SEO)

  • Many elements support the "title" attribute that is used for annotation (do not confuse the "title" element with the "title" attribute). Consider annotating tags like "a" with something like title="Read about <keywords>". Annotate with keywords and search terms. Some browsers, like Firefox, will also display the value of the "title" attribute when the user hovers the mouse over content with a "title" attribute.
  • Following accessibility standards may improve search engine rankings. Use "alt", "title", and table "summary" attributes whenever relevant and possible. Use keywords and search terms in them but keep them accurate. Using CSE HTML Validator's optional accessibility checking can help.
  • Consider linking to one or more high ranking sites that are related to the site you're promoting. Use your site's keywords in the link text if you can.

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem