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

Which tags did html5 discard?

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

Editor to share with you which tags html5 abandoned, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Tags that have been discarded in html5 are: frame, frameset, noframes, font, center, basefont, big, strike, tt, u, s, acronym, applet, dir and so on.

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

What tag was abandoned by html5?

The following HTML 4.01elements have been deleted in HTML5. Although browsers still support these tags for compatibility reasons, it is recommended to use new alternative tags. Paradoxically, the old browser does not have enough support for the new tags, depending on the audience of the project.

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.

The above is all the content of the article "which tags has been abandoned by 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