Humble opinions on the html5&flash of the Unknown

Source: Internet
Author: User
Tags html form transparent color

Compare head big is flash and insert not come in, helpless please you move click here First to see an animated show:

What is HTML

HTML (Hyper Text mark-up Language) is a Hypertext Markup language. HTML text is a descriptive text made up of HTML commands that describe text, graphics, animations, sounds, tables, links, and so on. The structure of the HTML consists of the head (head) and the body (body), where the head describes the information required by the browser, while the body contains the specific content to be described.

What is HTML5:

What we call HTML5 can achieve is not an isolated HTML upgrade, but a combination of html+css3+js performance. HTML is just a markup language, but he makes more semantic optimizations, adds some of the more scientifically labeled tags, and strips out tags, but tags are tokens, behavior is behavior, no CSS3, no js,html, and it's always just an HTML.

HTML5 is still in the midst of a perfect draft. However, most modern browsers already have some HTML5 support. Browsers that support HTML5 now include: Firefox 3.5, Chrome 3.0, Safari 3.0, Opera 10.5, IE9

HTML5 compared to previous HTML:

Simply put, HTML5 is more semantically, more standardized, and has added some new tags than the previous HTML version of the tag.

Please see:

This is the HTML form of the previous Web page. And the new HTML is this:

Obviously, HTML5 is no longer the same as the previous Div conquer, adding new semantic tags. Might make it easier for former engineers to collaborate on the team, because of the new standard of unification.

Image Point, a department store warehouse, the administrator of the old king to clean up the warehouse, all kinds of clothes hat shoes and department store classification into different boxes, put labels on the box and write a name that they think fit. Those boxes we can understand as Div, the name of the tag on the class item ID.

Well, here's the question. Lao Wang came home from work, Lao Li to take the succession, Lao Li looked at the old king to clean up the situation began to squalling, because he did not understand the old Wang on the box to write the label, he would like to open a box to see what is inside what, this greatly reduces the efficiency.

Now the HTML5 is directly to the marked box to the old king, he can according to different boxes to install different hats shoes, so wait until the old Zhang to take over the time is more convenient. And more than that, HTML5 has provided more tags to allow Lao Zhang and the Old Kings to work independently of some of the more complicated tasks they have been able to do without bothering other colleagues.

What is CSS:

CSS (cascading style Sheet, which can be translated as cascading style sheets or cascading style sheets), is a set of formatting rules that govern the appearance of web pages. By using CSS styles to format a page, you can separate the contents of the page from the representation. The page content is stored in an HTML document, and the CSS rules used to define the representation are stored in another file or part of an HTML document, usually the header section of the file. Separating content from presentation not only makes it easier to maintain the appearance of the site, but also makes the HTML document code more concise and shortens the browser's load time.

What is CSS3:

CSS3 is an upgraded version of CSS technology, and CSS3 language development is evolving towards modularity. The previous specification was too large and complex to be a module, so it was broken down into smaller modules, and more new modules were added. CSS3 offers a lot of new ways to improve your design work and make a lot of important changes.

CSS3 compared to previous CSS versions:

Currently known CSS3 compared to previous versions, rounded corners, multi-backgrounds, @font-face-user-defined fonts, gradients, Box shadows, rgba– add transparent color, text shadow, and so on, so that the code is more concise, more reasonable page structure, performance and effect are taken into account.

Image a bit, the front of the HTML, both old Li and Lao Wang are just the warehouse plumber, and here the CSS, let Lao Zhang to do. His task is to put the goods in the store shelves, in a certain order, the goods neatly arranged in the mall. Otherwise you see the page like warehouse, a lot of goods Higo piled up there. And CSS3 let Lao Zhang is not only a shopping mall shelves, but also design decoration storefront, boss, you have such an employee you really earned.

What is javascript:

JavaScript is a client-side scripting language that is Object-and event-driven and has relative security. It is also widely used as a scripting language for client Web development, and it is often used to add dynamic functions to HTML pages, such as responding to various actions of users. Originally designed by Netscape's Brendan Eich, it is a dynamic, weakly-typed, prototype-based language with built-in support classes. JavaScript can also be used in other contexts, such as server-side programming. The complete JavaScript implementation consists of three parts: Ecma,dom, BOM. HTML 5 introduces a number of new JavaScript APIs. You can use this content to associate with the corresponding HTML element.

What is an API?

APIs (application Programming Interface, application programming interfaces) are pre-defined functions designed to provide applications and developers the ability to access a set of processes based on a piece of software or hardware without having to access the source code, Or understand the details of the internal working mechanism.

Again the image of a little understanding, JavaScript can be understood as a God can get the upper body of the stick, we call him Lao Liu. What about the API? Is JS can please to all kinds of great God son. Please cow big god son upper body, that become Liu Lao Niu, please tiger big god son, Liu Tiger, please pig big god son, Liu Lao Pig, please monkey big god son, Liu Lao monkey and so on.

HTML5 and Flash:

Many people think that HTML5 will kill flash in seconds, so that in the big web front-end development forum noisy. I am not a faithful believer in HTML5, nor do I have to be the guardian of Adobe, and let us sit down calmly and talk about the two things that are between them.

Advantages of HTML5:

1. No plugins required

2, open, free

3, the search engine friendly

Disadvantages of HTML5:

1, because it is still in the draft stage, browser compatibility is poor

2, the development mode is single, at present basically only by Notepad development

Advantages of Flash:

1, the penetration is high, basically each PC machine will be equipped with Flashplayer

2, many years of accumulation, many designers and developers focused on the Flash platform

3, there is no browser compatibility issues

4. The flash and flex provided by Adobe provide an effective development solution.

The disadvantages of Flash:

1, power consumption, poor performance.

2, closed, charge

To say HTML5 replace Flash, that first we have to discuss the functional aspects, that is, HTML5 can achieve FlashPlayer10.1-like beautiful page effect. Personally think this should not be a problem, HTML5 is only a draft, he before the official release we can have unlimited imagination, as long as there is enough power demand, I believe this should not be his development path of the big problem.

The second is that two aspects of the controversy are relatively large performance problems. It is often said that flashplayer too expensive system resources, on mobile devices too power consumption. HTML5 performance must be higher than the performance of Flash? I don't think so.

If you use the JS engine to write an AJAX version of XX Farm, if all the page advertising animation with JS to write, I think that is called performance is low. Why are so many web games not Ajax-made? Why a lot of optimized flash3d game scenes are very smooth, and a 2D xx farm can slow down your core 2? At present, the performance of Flash is low, the deepest source should be due to his wide penetration, high start rate, low entry threshold, resulting in flash by a large part of the level of the development of the flash of the people abuse. So there is a large number of low performance flash products. So the future HTML5 to replace Flash must have an efficient 2d/3d graphics text rendering engine, and an efficient JavaScript engine. This will lead to a better user experience.

In addition, there is a more scratching the question, HTML5 came, he took his new standard valiantly, poised. But will adobe stay in FlashPlayer10.1? Will he never upgrade? The answer must be no. But Flashplayer is a lightweight plug-in, HTML5 is a heavyweight standard, is flash every update plug-in HTML5 to update the browser? This seems unrealistic, even if the browser vendors do, users will follow the footsteps of browser manufacturers? This is not much to say, look at our stubborn IE6 grandpa, I have reservations.

Finally say humorous, who is the most urgent demand for HTML5?

Do users want to HTML5? Users do not bother to control you what HTML and flash, the user is concerned about the application, is the experience. If you can use Ajax to implement an XX farm, I think no one will quote this is not flash do and refuse to accept.

Does the developer want to HTML5? That requires a mature HTML5+CSS3+JS development environment that requires a unified user experience for each browser, which is fully compatible with the standard. There is also a need to add new learning costs.

Who is the biggest beneficiary of this vigorous front-end revolution? I think the answer is ... Google and apple!

We can fantasize about, if HTML5 really get popularity, then the biggest profit is undoubtedly google! The reason is simple: when you face a feature and Google doc like Microsoft Word, do you spend money to buy word? In front of you on the computer, all the Office applications and entertainment only need to open the browser window, all can be satisfied, you will also spend money to buy the operating system? The answer is of course: "No! ”。

Besides, Apple,jobs wants the browser to natively support video audio, so the iphone and ipad don't have to be embedded in flash,jobs. Of course, you can't let Flash into the IPhone OS, or who's going to buy it in the App Store? At the same time, if a large number of applications can be implemented based on the browser, the user will not be blocked by Windows desktop applications. A pretty, stylish Mac will sell better than it is now.

To sum up, Flash is a continuous development of technology, there is a strong flexibility, HTML5 can not completely replace Flash, many developers will not be decisive abandon flash.

The reason is that HTML5 is the browser manufacturers to try to change the software ecological pattern of the strategic needs, not the urgent needs of the masses. The compatibility remains to be seen, given the past performance of the big browser bosses. In addition HTML5 need a mature development environment, light a notepad should be confused. In the promotion of the best real-time introduction of some forcible applications to attract users to actively update the browser, in order to effectively complete the HTML5 layout.

Humble opinions on the html5&flash of the Unknown

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.