mrdeveloper
mrdeveloper

Reputation: 55

Open a play store app with a href - HTML

I want to open google play app in a href. This has been asked before, but the solutions did not work. Can you help me?

<a href="https://play.google.com/store/apps/details?id=...">

Thanks

Upvotes: 0

Views: 8097

Answers (2)

ahmedfeyzi
ahmedfeyzi

Reputation: 51

Only works in mobile app..

<a href="market://details?id=com.example.your.package" target="_blank">Click here</a>

Upvotes: 2

Killer_King_HD
Killer_King_HD

Reputation: 31

You can open the Play Store with following anchor:-

<a href="https://play.google.com/store/apps/details?id=com.example.your.package" target="_blank" rel="external">Click here</a>

Upvotes: 3

Related Questions