Alright with the way below it is extracting only referring url like this...the extraction code :...foreach (HtmlNode link in hdDoc.DocumentNode.SelectNodes("//a[@href]"))
{
lsLinks.Add(link.Attributes["href"].Value.ToString());
}
...The url code...<a ...