Characteristics of HTML5

Source: Internet
Author: User

1. Simplified syntax
A simpler DOCTYPE statement is one of many new features in HTML5. Now all you have to do is write, that's it. The HTML5 syntax is compatible with HTML4 and XHTML1, but is not compatible with SGML.

2. A new "canvas" tag that replaces Flash
for Web users, Flash is both a surprise and a pain. There are a lot of web developers who are dissatisfied with HTML5 's threat to flash. But for those who suffer from bloated flash video that takes years to load and run, the technology for generating video with the new "canvas" tag has arrived. Currently, the "canvas" tag does not provide all the features that Flash has, but in time, Flash will be eliminated from the Web. We will wait and see, because many people do not agree with this view.

3. New "header" and "Footer" markers
HTML5 is designed to better depict the anatomical structure of the site. This is why these new tags, such as "header" and "footer", have been designed specifically for these parts of the logo website. When you develop a Web site, you don't need to use a "div" tag to label these parts of the page.

4. New "section" and "article" Markers
similar to the header and footer tags, the new "section" and "article" tags introduced in HTML5 allow developers to better label these areas on the page. It is speculated that in addition to making the code more organized, it can also improve the SEO effect, can make the search engine easier to analyze the page.

5. New "menu" and "figure" markers
The new "menu" tag can be used as a normal menu or on toolbars and on the right-click menu, although these things are not commonly used on the page. Similarly, the new "figure" tag is a more professional way of managing text and images on a page. Of course, you can use style sheets to control text and images, but using the HTML5 built-in tag is more appropriate.

6. New "audio" and "video" tags
The new "audio" and "video" tags may be the most useful two things added in HTML5. As tag names, they are used to embed audio and video files. In addition to some new multimedia tags and attributes, such as "track", it is used to provide tracking of video text information. With these marks, HTML5 makes Web2.0 features more and more friendly. The problem is that before HTML5 is widely accepted, Web2.0 is still the old Web2.0.

7. New Form Design
new "form" and "forminput" tags make new changes to the original form elements, and they have a lot of new properties (and some modifications). If you develop the form frequently, you should take the time to study it in more detail.

8. "B" and "font" tags are no longer used
for me personally, this is a change that I don't quite understand. I don't think there's much benefit in removing the "B" and "Font" tags. I know that the official guidelines say that these tags can be better handled by CSS, but in this way, in order to appear in the article one or two places of this kind of markup, you need to separate CSS and text two places to achieve this function, not clumsy. Maybe we'll get used to this method later.

9. No longer use "frame", "center", "big" Mark
In fact, I can't remember when I used these tags, so I don't feel sad about removing them. For the same reason, there are better marks to achieve their function--which is good, and any obsolete mark removed from the standard is welcome.

Characteristics of HTML5

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.