Get the App
SLTechnology News&Howtos  ›  Development  › 

What are the new features in HTML5

Shulou Source: shulou.com Published: 2022-06-01 07:07:07 10月02日 Update

This article mainly shows you "what are the new features in HTML5", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "what are the new features in HTML5" this article.

When we develop Web, it is very important to use Html because it contains the most basic web page structure. Although Html can only help us build static web pages, this is the most indispensable part. If we compare web pages to houses, then Html is the foundation. Today, follow the editor to learn what are the new features of HTML5?

What are the new features of HTML5?

HTML5 is no longer a subset of SGML, mainly about the increase of image, location, storage, multitasking and other functions.

Drag and drop release (Draganddrop) API

Better semantic content tags (header,nav,footer,aside,article,section)

Audio and video API (audio,video)

Canvas (Canvas) API

Geographic (Geolocation) API

Local offline storage localStorage long-term storage data, the data is not lost after the browser is closed, and the data of sessionStorage is automatically deleted after the browser is closed

Form controls, calendar, date, time, email, url, search

New technology webworker,websocket,Geolocation

Removed element

Pure expressive element: basefont,big,center,font,s,strike,tt,u

Elements that have a negative impact on usability: frame,frameset,noframes

Support for new HTML5 tags:

IE8/IE7/IE6 supports tags generated by the document.createElement method

You can use this feature to enable these browsers to support new HTML5 tags

After the browser supports the new tag, you also need to add the default style of the tag:

Of course, the best way is to directly use the mature framework, the most frequently used is the html5shim framework

How to distinguish: DOCTYPE declaration\ new structural elements\ functional elements

These are all the contents of the article "what are the New Features in HTML5". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Features tags elements content browsers support browsing data articles web pages storage learning help functions frameworks structures importance maturity tasks location Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi vpn OPPO Reno Linux Apple