views:

171

answers:

1

Can you auto detect a hyperlink in HTML,JavaScript or Objective C?

+2  A: 

A hyperlink is part of the html spec.

<a href="whoa">blah</a>

In any language I'd do an xquery search in the DOM object to find all hyperlinks.

getElementsByTagName('a');

Phillip Jacobs