title: HTML link to App Store not working in iOS 10.3 Safari
body: <p>I have a banner widget that is placed on third-party sites.  The banner ad is to download an app via iOS App Store or Google Play.  The links work perfectly on desktop browsers, but for some reason, on iOS Safari (iOS v10.3) the App Store link is dead yet the Google Play link works fine.</p>
  
  <p>iOS link returns "Safari cannot open this page because the address is invalid". The link is valid, as it works on desktop browsers.</p>
  
  <p>Any suggestions for getting this link to work on iOS Safari?</p>
  
  <p>Below is the HTML and CSS for the links:</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>      &lt;a class="mobile-app-link" href="https://itunes.apple.com/us/app/id12345" target="_blank"&gt;
          &lt;span class="mobile-app-span"&gt;
            &lt;img class="mobile-app-image" alt="-" src="https://devimages.apple.com.edgekey.net/app-store/marketing/guidelines/images/badge-download-on-the-app-store.svg"&gt;
          &lt;/span&gt;
        &lt;/a&gt;
        &lt;a class="mobile-app-link" href="https://play.google.com/store/apps/details?id=&lt;id&gt;" target="_blank"&gt;
          &lt;span class="mobile-app-span"&gt;
            &lt;img class="mobile-app-image" alt="-" src="https://play.google.com/intl/en_us/badges/images/badge_new.png"&gt;
          &lt;/span&gt;
        &lt;/a&gt;
  </code></pre>
  
  <p><strong>CSS</strong></p>
  
  <pre><code>  .mobile-app-image
      width: 119px
      height: 35px
  
    .mobile-app-link
      text-align: center
      display: inline-table
      vertical-align: middle
      margin: 0 10px 20px 0
  
    .mobile-app-span
      display: table-row
  </code></pre>