Home  >  Article  >  Web Front-end  >  Which elements are no longer supported in HTML5

Which elements are no longer supported in HTML5

奋力向前
奋力向前Original
2021-09-10 09:31:587966browse

No longer supported: 1. name; 2. applet; 3. acronym; 4. basefont; 5. big; 6. center; 7. font; 8. strike; 9. frame; 10. frameset; 11. listing; 12. plaintext, etc.

Which elements are no longer supported in HTML5

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

Elements no longer supported by HTML5

1. For <code>name in the hyperlink, replace <code> with id

2, <code>applet (recommended <code>object): define <code>applet

3, <code>acronym( Suggestion <code>abbr): Define acronym

4, <code>basefont

5, <code>big: Define large text

6, <code>center: Define text centering

7, <code>font

8, <code> strike (use <code>del): Define strikethrough text

9, <code>tt: Define typewriter text

10, <code>u: Define underline text

11, <code>frame (recommended <code>iframe): Define sub-window (frame)

12, <code>frameset: Define the set of frames

13, <code>dir: Define the directory list (use <code> ulreplacement)

14. Abolish <code><xmp> and use <code><code> instead of

15. The <code>align attribute of the <code>h1-h6 element no longer supports

16. The <code>listing element is abolished and uses <code>pre Replace

17. Abolish the <code>plaintext element and use the "<code>text/plain" MIME type instead

18 , Abolish <code><rb>, use <code><ruby> instead of

Recommended learning: Html5 video tutorial

The above is the detailed content of Which elements are no longer supported in HTML5. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn