Have you ever need to display your user's location on a map in your web application? HTML 5 adds a geolocation object to help make locating the current user's latitude and longitude quick and easy. Once you have this information, you can use a map API such as Google Maps or Microsoft's Bing Maps to display that latitude and longitude on a graphical map. This blog post explores how to use this new object to get a user's current position.
When you want to create a numbered list in HTML, you probably use the <ol> and <li> tags. These work well most of the time, and are pretty flexible when paired up with CSS. You can have the numbers be decimals, alphabetic characters (lower or upper), roman numerals (lower or upper), and more, or you can hide them altogether.
But sometimes you can’t (or just don’t want to) use <li> tags to structure your markup, but you still want automatic numbering. So CSS 2.1 came up with this swanky idea to allow automatic numbering on any element: http://www.w3.org/TR/CSS2/generate.html. It also allows decimal, alpha, roman, and other numbering formats, which is great. And it’s officially supported in Firefox 4+, Google Chrome 10+, Safari 5+, and IE8+, which is also great-ish!