code: def iter_links_link_element(self, element):
          '''Iterate a ``link`` for URLs.
  
          This function handles stylesheets and icons in addition to
          standard scraping rules.
          '''
          rel = element.attrib.get('rel', '')
          stylesheet = 'stylesheet' in rel
          icon = 'icon' in rel
          inline = stylesheet or icon
  
          if stylesheet:
              link_type = LinkType.css
          elif icon:
              link_type = LinkType.media
          else:
              link_type = None
  
          for attrib_name, link in self.iter_links_by_attrib(element):
              yield LinkInfo(
                  element=element, tag=element.tag, attrib=attrib_name,
                  link=link,
                  inline=inline, linked=not inline,
                  base_link=None,
                  value_type='plain',
                  link_type=link_type
              f iter_links_link_element(self, element):
          '''Iterate a ``link`` for URLs.
  
          This function handles stylesheets and icons in addition to
          standard scraping rules.
          '''
          rel = element.attrib.get('rel', '')
          stylesheet = 'stylesheet' in rel
          icon = 'icon' in rel
          inline = stylesheet or icon
  
          if stylesheet:
              link_type = LinkType.css
          elif icon:
              link_type = LinkType.media
          else:
              link_type = None
  
          for attrib_name, link in self.iter_links_by_attrib(element):
              yield LinkInfo(
                  element=element, tag=element.tag, attrib=attrib_name,
                  link=link,
                  inline=inline, linked=not inline,
                  base_link=None,
                  value_type='plain',
                  link_type=link_type
              )
docs: Iterate a ``link`` for URLs.
  
          This function handles stylesheets and icons in addition to
          standard scraping rules.