find elements by tag name selenium does not return webelements code example

Example 1: find element vs find elements in selenium

Differences between findElement and findElementS method?
    --> findElement():
     
      -It does returns SINGLE web element.
      - Return type: WebElement
      - If it cannot find a web element, it throw - NoSuchElementException
          
   
   --> findElements():
      - Returns a List of WebElements
      - Return type: List<WebElement>

Example 2: findelements in selenium

List<WebElement> elementName = driver.findElements(By.LocatorStrategy("LocatorValue"));