Home > Others > HTML5.1: The New Standard is Nearing Completion

HTML5.1: The New Standard is Nearing Completion

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.

HTML5.1: The New Standard is Nearing Completion

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.

“”, “

” and “” on the Hit List

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 “”, “

”, and “” are marked with the label “at-risk”. This means, that they might not be a part of HTML5.1.

While “” is meant for the creation of key pairs, the “

” element’s purpose is placing additional entries in the context menu. The “” displays content as a modular window above the page’s remaining content.

The decision whether these three elements will actually have to leave the new standard or not has yet to be made. Either way, they shouldn’t be used a lot as it is.

Completion in September

Currently, HTML5.1 is a so-called candidate recommendation. Thus, the work on it is done for the most part. No changes are to be expected. In September, HTML5.1 is supposed to be adopted officially, taking over from HTML5.

As most browsers already support the changes in HTML5.1, there is no reason not to use the new elements and attributes already, which a lot of people probably do anyway.

Regarding the “at-risk” candidates, you should say that these are not supported by all browsers. For instance, the “

” element is only supported by Firefox, and the “” element is only supported by Chrome and Opera.

By the way, a first draft of HTML5.2 is soon to be released. New features have already been announced. Things are sure to stay exciting when it comes to HTML5.

(dpe)

Categories: Others Tags:
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.