Obsolete and updated elements and attributes of HTML5

Source: Internet
Author: User

obsolete element and attribute "1" label substitution
<acronym>     overrides:<abbr><applet>     overrides:<embed> or <object ><big>     overrides:    overrides:<ul> <frame><frameset><noframes>     overrides: CSS or <iframe>    <isindex>     Overrides: Form controls <tt> <kbd>      or <var> or <code> or <samp> overrides <u>      <em> or <b> or <mark> overrides     <xmp>  Replace    with <code>

"2" CSS replacement
<basefont>     using css instead of      <center> using CSS instead of <font>     using     CSS instead <s><strike>     using CSS instead

"3" Deprecated properties
<area>    nohref<br>    Clear<li>    type<table>     cellpadding    cellspacing    rules    summary    width

Updated element and attribute "1" function changes
<a>     No href attribute <a> is displayed as a placeholder, and the <a> element supports flow content type elements inside <address>     with <article>, <aside>, <nav>, <section> Limited scope <cite>    = > A reference to a book, a report, or other source of published information. <dl>    = = contains multiple name-value group    does not allow < Object> child elements <label>     Browser no longer moves focus from <label> to control

"2" Semantic changes
<b>     A text in a general article that is only stylistic and does not contain any additional importance. For example, a keyword in a document summary, a product name in a comment.    according to the HTML5 specification, the title text uses the <H1>-<H6>, the emphasis text uses the <em>, the important text uses the <strong>, the marked text uses the <mark> Other aspects of using <b>     Define the theme changes in the content and appear as a horizontal line <i>-       To highlight a different opinion or tone or other piece of text in a general article. such as a classification name, technical terms, proverbs and so on.     <menu>     in toolbar and context menus <small> side note, for disclaimers, precautions, legal restrictions, copyright notices, etc.     <strong>    Important text

"3" Property changes
    The <script> and <style> element's Type property is not mandatory    for all elements of the width and height property no longer allowed to set the value to percent

Obsolete and updated elements and attributes of HTML5

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.