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 obsolete elements of html5

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly talks about "what are the abandoned elements of html5". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn what are the abandoned elements of html5.

Html5 waste elements: basefont, big, center, font, s, strike, tt, u, frame, frameset, noframes, align, vlink, alink, text, bgcolor, valign, hspace and so on.

The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.

HTML5 discarded elements

The first category: expressive elements

Basefont

Big

Center

Font

S

Strike

Tt

U

It is recommended to replace them with semantically correct elements, and use CSS to ensure the effect of rendering

The second category: frame class elements

Due to many usability and accessibility issues with the framework, the HTML5 specification removes the following elements.

Frame

Frameset

Noframes

However, html5 supports iframe.

The third category: attribute class

Many expressive attributes have also been removed by the new specification, as follows:

Align

Link, vlink, alink, text attributes on the body tag

Bgcolor

Height and width

The scrolling attribute on the iframe element

Valign

Hspace and vspace

Cellpadding, cellspacing, and border attributes on the table tag

The profile attribute on the header tag

The target attribute on link label a

Longdesc attribute of img and iframe elements

Category IV: other

Abbr replaces acronym (used for abbreviations)

Object replaced applet.

Ul replaced dir.

At this point, I believe you have a deeper understanding of "what are the discarded elements of html5?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

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