That depends on where you are doing the work. On the client-side you can use JavaScript
$("img".each(function()
{
var src = $(this).attr("src");
var alt = $(this).attr("alt");
}
In code-behind or a Windows app yo would need to get the response stream from teh requested URL and parse the text for img tags.