A QR Code A QR Code (Quick response) allow you to display an URL readable by a mobile phone. With Google URL Shortener, it is now very easy to insert a QR Code within a page. A practical example With Google Maps, we create the following (very long) URL : maps.google.ch/maps/ms?hl=en &ie=UTF8 &t=h &msa=0 &msid=102376698569738400439.00049087972194c5318f2 &ll=46.325831,6.962242& spn=0.082979,0.145912 &z=12 &output=embed We log on http://goo.gl to shorten this URL and we get : goo.gl/0hvD To verify this URL, we display the maps, using an iframe, like this <iframe frameborder="0" height="320" marginheight="0" marginwidth="0" scrolling="no" src="http://goo.gl/0hvD" width="380">Map - La Badouxthèque - Switzerland</iframe> We of course get the original maps : The QR Code We just add .qr to the shorten URL, to get the URL of the QR Code : To display the QR Code, we just use an img tag : <img src="http://goo.gl/0hvD.qr" style="border: 1px solid #000; padding: 5px;" alt="QR code - Google Maps - Badouxthèque" title="QR code - Google Maps - Badouxthèque" /> Find a Wine |



