HTML5 new tags and abolished tags

Source: Internet
Author: User
Tags local time


    • Output label
      Defines different types of output, such as the output of a script.


    • SOURCE Label
      Tags define media resources for media elements (such as and).
    • Menu Label
      Defines a menu list. Use this label when you want to list the form controls. Note the difference from NAV, where menu is used exclusively for form controls.
      • Red
      • Blue

Add input Tag

    • Email
      Email must be entered
    • Url
      You must enter a URL address
    • Number
      Value must be entered
    • Range
      Values must be entered in a certain range
    • Date pickers (day selector)
      There are several new input types that can be selected for the date and time:
      Date-Select day, month, year
      Month-Select months, years
      Week-Select minute
      Time-Select the Times (hours and minutes)
      DateTime-Select time, day, month, year (UTC time)
      Datetime-local-Select time, day, month, year (local time)
    • Search
      For the search domain, the field is displayed as a regular text field.
    • Color

Elements of abolition

1. Elements that can be replaced with CSS
Basefont, big, center, font, S, Strike, TT, U. These elements are purely for the screen display service, HTML5 in the promotion of the display features in the CSS unified editing.

2, no longer use frame frame.

Frameset, frame, noframes. Frame frames are not supported in HTML5, only the IFRAME framework is supported, or the above three tags are removed with a page-by-page format created by the server side.

3. Only some elements supported by the browser

Applets, Bgsound, Blink, Marquee and other tags.

4. Other elements that have been abolished

Abolish RB, Tree Yong Ruby instead.

Repeal acronym use ABBR substitution.

Revoke DIR using UL instead.

Repeal Isindex use form and input in a way that replaces

Repeal listing using the pre override

Revoke XMP Using code substitution

Abolition of NextID using GUIDs

Repeal Plaintex uses the "Text/plian" (unformatted body) MIME type substitution.

===========================================================

Looking at so many new tags and elements, I was thinking HTML5 really came? Overwhelming information, tutorials, everyone mouth closed HTML5, CSS3 and the major browser manufacturers announced the support of HTML5, let me feel that the HTML5 era really came. Can I use it safely in my project? Not yet. Although IE9 has claimed support for HTML5, IE8 does not support it at all. There are still a large number of people sitting in the 06, 07, Ben Four old machine, using the XP system, installed IE8 in the crawl network, there are some nostalgia elder brother, elder sister, buy new machine to remove the genuine Win7, change on the D version XP. Although now with the Html5shiv, can let IE8 limited support some new HTML tags, but also just a few new tags. I can choose what new technology to use, but I can't ask the user of your product to install what browser (unless you do something for competes, the Spring Festival ticket is only for me to sell, must be loaded IE10 to buy tickets ...). )。 In fact, do not necessarily have to do something new technology, suitable for the good, think now some with Asp.net2 write the East function as powerful; Just like Grandpa Deng's "Cat theory", it works just fine.

HTML5 new tags and abolished tags

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.