Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the new features in HTML5

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report