HTML5.1: The New Standard is Nearing Completion
HTML5 becoming the official standard in 2014 was a milestone for modern web development. Better semantics, and easier controls, especially on mobile devices, were central ideas of HTML5. About two years later, its successor, HTML5.1, is nearing completion. Many of the things that are new in HTML5.1 are already being used, and supported by most browsers.
“” Element and “srcset” Attribute
For a long time, there were discussions about how to provide different images for different resolutions in responsive webdesign. As a result, the “” element was introduced, which allows for the display of different images via their own “” elements.
The W3C also answered the question how to mark images for high resolution displays and monitors, and introduced the “srcset” attribute. Both the “” element, and the “srcset” attribute are supposed to become a part of the new standard HTML5.1.
Both markup types are already being used by many web developers. As there are fallback options for both cases, there was no reason to use the new element or attribute prematurely. By now, all large browsers have implemented “” and “srcset”, even though they still are no official part of HTML5.
“month” and “week” as New Input Forms
There are news in terms of forms as well. While HTML5 introduced new types for the “” element, like “email”, “url”, and “date”, for entering email and internet addresses, as well as dates, for example, there are two new entry types.
New Types for Form Entries: “month” and “week”
Up to this point, you were only able to choose days and time for “”. Now, “month” allows you to choose a month. Choosing a specific day is not possible. The new type “week” works in a similar fashion. Here, you can determine a calendar week.
“”, “
HTML5.1 didn’t only add new elements and attributes. It is also possible that some elements will be removed in the future. For instance, the elements “”, “