We can also choose the xpath of an outbox and extract all links inside that box like the below example we choose all the links under the box
WebElement box = driver.findElement(By.xpath("//*[@id='intl_homepage1-zone-1']/div[2]/div/div[3]"));
List<WebElement> links = box.findElements(By.tagName("a"));
System.out.println("The total no of links on the page are "+links.size());
for(int i = 0;i<links.size();i++){
System.out.println("The "+i+"th link on the page is "+links.get(i).getText()+"and is the element present on the page ?"+links.get(i).isDisplayed());
}