The difference between HTML5 and HTML4

Source: Internet
Author: User

--------------------siwuxie095

Reasons and objectives for the launch

The advent of HTML5 is very important for the WEB, because

its intention is to put the present the various problems that exist on the Web are solved

The problem is as follows:

(1) low compatibility between Web browsers

(2) The document structure is not clear

(3) Limited functionality of WEB applications

the world-renowned browser vendors HTML5 's support:

Microsoft, Google, Apple, Opera, Mozilla

Changes in grammar

(1) content type

(2) DOCTYPE statement

(3) specify character encoding

(4) elements that can be omitted from markup

(5) a property with a boolean value

(6) omit quotation marks

New elements and repealed elements

(1) new Elements

1) New structure elements

section, article, aside, header, Hgroup, footer, nav, figure

2) Additional elements added

Video, audio, embed, mark, progress, meter, time, Ruby, RT,

RP, WBR, canvas, command, Details, DataList, DataGrid, keygen,

Output, source, menu

3) type of the new INPUT element

email, URL, number, range, Date pickers

(2) Elements of abolition

1) elements that can be replaced with CSS: Basefont, big, center, font, S, TT, u, etc.

2) no longer use frame frame: frameset, frame, noframes

3) only some elements supported by the browser

4) Other discarded elements

New attributes and properties that are repealed

(1) new properties

1) Form-related properties

2) Link-related properties

(2) Revoked Properties

Global Properties

A global attribute refers to a property that can be used on any element

(1) contenteditable Property

(2)DesignMode Property

(3)hidden Property

(4)spellcheck Property

(5)TabIndex Property

"Made by siwuxie095"

HTML5 differs from HTML4

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.