code: public Collection<AbstractHtml> findTagsByAttribute(
              final AbstractAttribute attribute) throws NullValueException {
  
          if (attribute == null) {
              throw new NullValueException("attribute cannot be null");
          }
  
          final Collection<AbstractHtml> tags = new HashSet<>();
  
          for (final AbstractHtml ownerTag : attribute.getOwnerTags()) {
              if (browserPage.contains(ownerTag)) {
                  tags.add(ownerTag);
              }
          }
  
          return tags;
      }
docs: Finds tags by attribute instance.
  
  @param attribute
  @return all tags which are consuming the given attribute instance. It
  returns the only tags consuming the given attribute object which
  are available in browserPage.
  @throws NullValueException
  if the {@code attribute} is null
  @since 2.1.8
  @author WFF