Home / Products / Power Search / Extract Alt Attributes
Run Power Search and enter the URL of the website you want to work on. For this
example, we'll use 'www.inspyder.com'.
Enter the following into the Query field: <IMG*src="#Source#"*alt="#AltText#"*>
Set the Query mode as Wildcard.
This query will extract any "src" and "alt" attributes found in image ("img") tags
and store it into result fields called "Source" and "AltText". The "Source" field
will contain the image URL, the "AltText" field will contain the alternate text.
Later, we can export the results and open them in Excel for further analysis.
Ensure that "Ignore Case" and "Include HTML" Query Options are checked. Ignore case
tells Power Search to match the <IMG*src="#Source#"*alt="#AltText#"*> query
in upper or lower case. Include HTML tells Power Search not to remove the HTML tags
before using our query on the page.
Click the Go button to start the crawl. Power Search will go through each page on
the site and capture all the alternate text in images that have it. You can stop
the crawl at any time by clicking the red "X" button. When the crawl is completed
you can export the results by clicking "Project | Export Results..." from the main