One of the attributes I somehow missed with the HTML5 revolution was the
ping attribute; Other attributes were more popular,
download being one of them. Hell, I just stumbled upon the
ping attribute while reading an old forum post. The
ping attribute of an
a element represents a list of URLs to POST to when the link is clicked.
A sample usage of the
ping attribute would look as follows:
<a href="/checkout" ping="/tracking/going-to-cart">Checkout</a>
I tried writing the POST data to file but the PHP
Have you used the
ping attribute before? If so please let me know what you used it for!
Before we get started, it's worth me spending a brief moment introducing myself to you. My name is Mark (or @integralist if Twitter happens to be your communication tool of choice) and I currently work for BBC News in London England as a principal engineer/tech...
CSS is becoming more and more powerful but in the sense that it allows us to do the little things easily. There have been larger features added like transitions, animations, and transforms, but one feature that goes under the radar is generated content. You saw a...
Note: For this tutorial, I'm using version1 of the Google Translate API. A newer REST-based version is available.
In an ideal world, all websites would have a feature that allowed the user to translate a website into their native language (or even more ideally, translation would be...