Why HTML5 is so popular

Source: Internet
Author: User

First, world-renowned browser manufacturers to HTML5 support

Microsoft: In 2010, Microsoft said that after the completion of the development of IE9, it spoke more about the universal standards of support for Internet browsing such as CSS3, SVG and HTML5.

GOOGLE:2010 year Google focused on the development of HTML5 project.

Apple: 2010 After the meeting of the Apple Developer Conference SAFARI5, the browser supports more than 10 HTML5 technologies, including full screen playback, HTML5 video, HTML5 geolocation, HTML5 slice elements, HTML5 draggable properties, HTML5 form validation, HTML5 's Ruby, HTML5 Ajax history and WebSocket subtitles.

Opera:2010 is familiar with the technology official CSS Father HTML5 and CSS3 will be the global Internet future development trend.

The mazilla:2010 Mazilla Foundation released the first beta version of the upcoming Firefox4 browser.

Ii. three reasons to use HTML5 with confidence

1, Compatibility: HTML5 in the old version of the browser can also run normally.

2. Usability: H5 does not encapsulate anything that is complex and impractical, but simply encapsulates the functionality.

3, non-revolutionary development: H5 internal function is not revolutionary, is a development.

Iii. three questions to be solved by HTML5

1, the compatibility between Web browsers is very low

2, the document structure is not very clear

3. Limited functionality of Web applications

Iv. the difference between HTML5 and HTML4

1, the basic grammatical differences include DOCTYPE declaration, content Type (contenttype), the specified method of character encoding, omission of element label, attribute with Boolean value, ellipsis of quotation marks, etc.

2. Learn which elements are new in HTML5, what elements are removed from HTML4, and why they are removed, and what elements or methods are used to replace the deleted elements.

3. Learn about the properties added in HTML5, what properties are removed from the HTML4, and what attributes are used in HTML5 to replace the deleted attributes.

4. What are the global attributes, several commonly used properties, such as the Contenteditable property, the Disignmode property, the hidden property, the SpellCheck attribute, and the TabIndex attribute.

Five, the marking method in HTML5

1, Content type (ContentType) HTML5 file extension and content type remain the same. That is, the Extender is still ". html" or ". htm", and the content type is still "text/html".

2, DOCTYPE declaration is necessary in the HTML file, it is located in the first line of the file, HTML5 DocType declaration method is not case-sensitive: <! DOCTYPE html>

3, the specified character: in Html4 <meta http-eqiv= "Content-type" content= "Text/html;charset=utf-8" >

<meta charset= "Utf-8" in HTML5 >

Vi. HTML5 ensure compatibility

1, omit the quotation marks, when the specified attribute refers to the property value, the quotation marks can be double quotation marks or single quotation marks. HTML5 has made some improvements on this basis, when the attribute values do not include empty strings, "<" ">" "=", single quotation marks, double quotation marks, and so on, the quotation marks on both sides of the property value can be omitted.

Why HTML5 is so popular

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.