# Method: PHPCrawler::setLinkExtractionTags()

## << Back to class-overview

Sets the list of html-tags the crawler should search for links in.
Signature:

public setLinkExtractionTags($tag_array)

Parameters:

$tag_array | array | Numeric array containing the tags.

Returns:

No information

Description:

By default the crawler searches for links in the following html-tags: href, src, url, location, codebase, background, data, profile, action and open.
As soon as the list is set manually, this default list will be overwritten completly.
Example:`$crawler->setLinkExtractionTags(array("href", "src"));`
This setting lets the crawler search for links (only) in "href" and "src"-tags.
Note: Reducing the number of tags in this list will improve the crawling-performance (a little).