code: def create_html(api_key, attrs):
      '''Returns complete html tag string.'''
      gif = get_gif(api_key, attrs['gif_id'])
  
      if 'alt' not in attrs.keys():
          attrs['alt'] = 'source: {}'.format(gif['data']['source'])
  
      html_out = '<a href="{}">'.format(gif['data']['url'])
      html_out += '<img src="{}" alt="{}">'.format(
          gif['data']['images']['original']['url'],
          attrs['alt'])
      html_out += '</a>'
  
      return html_ouf create_html(api_key, attrs):
      '''Returns complete html tag string.'''
      gif = get_gif(api_key, attrs['gif_id'])
  
      if 'alt' not in attrs.keys():
          attrs['alt'] = 'source: {}'.format(gif['data']['source'])
  
      html_out = '<a href="{}">'.format(gif['data']['url'])
      html_out += '<img src="{}" alt="{}">'.format(
          gif['data']['images']['original']['url'],
          attrs['alt'])
      html_out += '</a>'
  
      return html_out
docs: Returns complete html tag string.