As an AI language model, I do not have information about future developments beyond my knowledge cutoff date of September 2021. However, I can tell you about some of the new HTML features that were introduced in 2021 or earlier.
HTML has been undergoing constant development and improvement, and the latest HTML specifications include many new features that can make it easier and more efficient to create web pages. Here are a few examples:
-
The loading
attribute: The loading
attribute is a new HTML attribute that can be used on img
, iframe
, and script
elements to improve page performance by delaying the loading of non-critical resources until they are needed. When the loading
attribute is set to "lazy", the browser will wait to load the resource until it is about to be displayed on the screen, which can speed up page load times.
-
The shape
attribute: The shape
attribute can be used on the area
element to define the shape of an image map area. In the latest HTML specifications, new values have been added to the shape
attribute to allow for more complex shapes, including circles, ellipses, and polygons.
-
The controlslist
attribute: The controlslist
attribute is a new attribute that can be used on the video
and audio
elements to customize the controls that are displayed to the user. With the controlslist
attribute, you can specify which controls are shown by default, and even create your own custom controls.
-
The download
attribute: The download
attribute can be used on the a
element to specify that the linked resource should be downloaded rather than displayed in the browser. When the user clicks on the link, the resource will be downloaded to their device instead of being displayed in the browser window.