Home  >  Article  >  Web Front-end  >  What elements are not supported by html5?

What elements are not supported by html5?

青灯夜游
青灯夜游Original
2021-12-13 17:42:537847browse

html5 Unsupported elements: 1. basefont; 2. big; 3. center; 4. font; 5. s; 6. strike; 7. tt; 8. u; 9. frame; 10. noframes; 11, frameset; 12, bgsound; 13, blink, etc.

What elements are not supported by html5?

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

What are the elements that are not supported by html5

1. Tag elements that can be replaced by css

Delete purely expressive elements such as basefont, big, center, font, s, strike, tt, and u. In HTML5, it is advocated to put the screen display function in CSS for unified editing. .

2. html5 no longer uses frame

Frame, noframes and frameset are no longer used. These tags have a negative impact on usability. HTML5 does not support frame frames, but only supports iframe frames, or use a server-side format composed of multiple pages that conforms to the page, and delete the above three tags.

3. Only tag elements supported by certain browsers

bgsound background music, blink text flashing, marquee text scrolling, applet

4. Other uncommon tag elements

  • ##ul replaces dir

  • ##pre replaces listing
  • code replaces xmp
  • ruby replaces rb
  • abbr replaces acronym
  • Abolition isindex is replaced by a combination of form and input.
  • Abolish listing and use pre instead
  • Abolish nextid and use guids
  • Abolish plaintex and use "text /plian" (unformatted text) MIME type alternative.

Supplement: Redefined html tag element: represents inline text, usually In bold, no important meaning is conveyed.

: Represents inline text, usually in italics, and does not convey important meaning.

: Can be used with details and figure. The definition contains text. Djalog can also be used.

: Can be used with details and figure to summarize details. Dialog can also be used. Available

: Redefine the menu of the user interface, use it with commond or menuitem

: Represent small fonts, such as printing comments or legal terms

: Indicates importance rather than emphasis.

Recommended tutorial: "

html video tutorial

"

The above is the detailed content of What elements are not supported by 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
Previous article:Is video an HTML5 tag?Next article:Is video an HTML5 tag?