Get the App
SLTechnology News&Howtos  ›  Development  › 

Explanation and usage of New tags in Html5

Shulou Source: shulou.com Published: 2022-06-03 14:10:39 11月14日 Update

Html5 in the new tag explanation and usage, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.

It hopes to reduce browser requirements for rich web application services (plug-in-based rich internet application,RIA) that require plug-ins, such as Adobe Flash, Microsoft Silverlight, and Sun JavaFX.

HTML 5 provides some new elements and attributes that reflect typical modern usage sites. Some of them are technically similar to tags, but have certain meanings, such as (site navigation block) and. This kind of tag will facilitate the indexing of search engines, small screen devices and the use of the visually impaired. At the same time, it provides new functions for other browsing elements, through a standard interface, such as and tags.

Some outdated HTML 4 tags will be removed, including those used purely for display effects, such as and, because they have been replaced by CSS. There are also some network behaviors (via) through DOM.

Let's take a look at some of the new tag uses provided by HTML 5 and the differences with HTML 4.

Tags define external content. For example, a new article from an external news provider, or text from blog, or text from a forum. Or from other external sources.

HTML5:

HTML4:

The tag defines something other than article. The content of aside should be related to the content of article.

The content of the HTML5:Aside is independent, but should be relevant to the content of the document.

The content of the HTML4:Aside is independent, but should be relevant to the content of the document.

Tags define sounds, such as music or other audio streams.

HTML5: your browser does not support audio tags.

HTML4:

Tags define graphics, such as charts and other images. This HTML element is designed for client-side vector graphics. It has no behavior of its own, but it presents a drawing API to the client JavaScript so that the script can draw everything you want to draw onto a canvas.

HTML5:

HTML4:

Tags define command buttons, such as radio buttons, check boxes, or buttons.

HTML5:

Tags: Tags elements content documents titles browsing browsers users support typical characters buttons text tags search interpretation size sections graphics media Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Apple NVidia Shulou Technology macOS