Home  >  Article  >  Web Front-end  >  Talk about abandoned tags in HTML5

Talk about abandoned tags in HTML5

韦小宝
韦小宝Original
2018-03-14 13:47:583675browse

This article talks about the abandoned tags in HTML5. If you don’t know about the abandoned tags in HTML5, then let’s take a look at this article. Okay, without further ado, let’s get to the point! Remember that it is best not to use the abandoned html tag !

In written examinations or interviews, we often encounter problems with the new HTML5 standard. The following is a summary of the HTML5 obsolete tags.

Category 1: Expressive elements

  • basefont

  • big

  • center

  • ##font

  • s

  • ##strike

  • tt

  • ##u
  • #Second Category:
  • Framework
Class Element

frame
  • ##frameset

  • noframes

  • Note: iframe is supported in html5.

The third category:AttributesClass

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

align

  • link and vlink on the body tag , alink, text attribute

  • bgcolor

  • height and width

  • scrolling attribute on 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 the link tag a

  • The longdesc attribute of img and iframe elements

  • Category 4: Others

abbr replaces acronym (used to represent abbreviations)

  • object

    replaces applet
  • ul replaced dir

  • Everyone has learned that with so many abandoned tags, it is best not to use them in future development. !

Related recommendations:

h5’s new and abandoned tags

The above is the detailed content of Talk about abandoned tags 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