Home  >  Article  >  Web Front-end  >  HTML5 does not support tags and detailed explanation of new tags

HTML5 does not support tags and detailed explanation of new tags

黄舟
黄舟Original
2017-05-25 15:24:182282browse

1. Tags that are not supported or deprecated by HTML5

——define only the first letter of the abbreviation, which is not supported by HTML5. Use to define an abbreviation instead. The title attribute can be used to display the full version of the abbreviation when the mouse pointer moves over the element. Stick to the title, which is more friendly to browsers and search engines.

- Defines an embedded applet, not supported in HTML5. Use the object element tag instead.

- Definition specifies bold text. Supported but according to the HTML5 specification, the tag should be used as a last resort when no other suitable tag is more suitable. If it is to emphasize important text, it is recommended to use the tag; if it is purely to bold text, it is recommended to use the CSS style font-weight:bold to set bold text.

- Defines the default font family, color, or size for text in the page, supported only by Internet Explorer. Use CSS stylesheets instead.

——Define the text to be centered, which is deprecated in HTML 4.01 and not supported in HTML5. Use the CSS style text-align:center to center the text

- Define the font, size and color of the defined text. HTML 4.01 deprecates its use and HTML5 does not support it. Use style settings.

【Related recommendations】

1. Free h5 online video tutorial

2. HTML5 full version manual

3. php.cn original html5 video tutorial

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