Webpage Design with HTML 5 skills against Flash and Webpage Design

Source: Internet
Author: User

Webpage Design with HTML 5 skills against Flash and Webpage Design

We introduced the design process of a Web page conforming to the HTML5 standard. In this article, we will continue our HTML5 journey.
Article comment Area
In the post-article comments area, we use the sections tag, as shown below:
<Section id = "comments">
<H1> 3 Comments
<Article class = "comment">
<Div class = "comment-meta" id = "comment-1">
<A href = "" rel = "external nofollow"> Homer Simps on
/>
<Time datetime = "" pubdate>

<Div class = "comment-body">
<P>


<Article class = "comment">
<Article class = "comment">
<Article class = "comment">



In the section area with the id of comments, all comments of the reader are stored, and each comment is set to be placed in the tag, the div and related styles are used for setting and modification.
Footer div part of the page
After the comment area, it is the advertisement area. Here we design a large div layer, such:


The code structure is as follows:
<Div id = "footer">
<Aside class = "sub-footer">
<H1>
<P>
<Ul>
<Li> <a href = "">
<Li> <a href = "">
<Li> <a href = "">
<Li> <a href = "">


<Aside class = "sub-footer">
<H1>
<P>
<Ul>
<Li> <a href = "">
<Li> <a href = "">
<Li> <a href = "">
<Li> <a href = "">


<Aside class = "advertising">
<H1>
<A href = ""> />




We can see that here we use tags again, because these are not the main content of the page. In the three aside tag regions, we set the relevant

 

Http://html5.662p.com/thread-52-1-1.html


Why does html5 replace Flash? Cannot understand

Recently, HTML5 is a hot topic. Many people think that HTML5 will Flash in seconds, so that it is hard to get involved in front-end web development forums. In the forum, I had to talk about it in an acre of land. Also, let's look forward to the future of web Front-end development. The HTML5 mentioned here is not only HTML5 itself, but also the whole web-side technology included in HTML5, CSS3, JavaScript, and new browser APIs.

Who needs HTML5?

Google needs it most! Apple Jobs are also required. However, these two must be different. Microsoft doesn't matter. He still has Silverlight.

Mozilla/Firefox is a non-profit organization that may have a higher level of goals and must be supported by w3c standards. Opera's browser market share has not dared to think too much.

Google's cloud computing empire is far behind a client that supports Rich Internet Applications (RIA). Imagine that HTML5 is becoming popular and more Applications are switched to the BS model, the desktop software ecosystem of the Microsoft empire must be under great threat. Google, which has been coveted for many years, must be the biggest beneficiary. If you use Google Doc, which is similar to MS Word, on a computer with free operating system, do you still pay for Microsoft Word? When all your office applications only need to open the browser window, will you still pay for the operating system? Google's Chrome OS Operating System Interface already shows this intention.

Jobs also needs HTML5. He wants to make the browser support video and audio in the native way, so that the iPhone and iPad do not need to embed Flash. Jobs certainly cannot import Flash into the iPhone OS, otherwise, who will buy the games in the App Store? At the same time, if a large number of applications can be implemented based on browsers, users will not be stuck in Windows desktop applications. Pretty Mac computers do not like it.

They chose HTML5 for greater ambition. They expected HTML5 to bring about a change in the entire software ecosystem, while avoiding the uncontrolled Flash.

Macromedia and later Adobe grasp the development needs of Internet applications and constantly improve Flash, which has surpassed the functions of browsers. Browser vendors also see the demand for such applications, rather than a function that should have been implemented by the browser, implemented by a plug-in of a few megabytes and small ones. Therefore, we spared no effort to promote HTML5 and direct our finger at Flash.

Do users want HTML5? What users need is not technology, application, but experience. If you can use Ajax to implement a happy farm, I don't think anyone will care if it is made by Flash.

Do developers want HTML5? A mature HTML5 + CSS3 + JS development environment is required, and various browsers are required to provide a unified user experience, that is, the complete and compatible standard. New learning costs are also required.

What are the advantages of Flash?

Where is Flash better than HTML5? Performance, function? If HTML5 will have DOM similar to all built-in Flash objects, what about GPU 2D and 3D acceleration? This is not impossible. After all, HTML5 is just a draft. Of course, Flash can be constantly updated.

Development Group:

I think the advantage of Flash is that it has been accumulated by developers for more than a decade. There are many outstanding artists, programmers and interactive designers who focus on Interactive Media Development on the Flash Platform. It also makes countless class libraries available for the AS version, such AS FLARToolKit, Touchlib, and OpenCV. These interactive and image analysis c ++ libraries are all transplanted to the Flash Platform. A relatively mature and open-source Flex framework should be used in RIA. More and more enterprises are trying to use Flex to replace Ajax frameworks such as Ext to provide customers with a better RIA application experience.

Sustainable development:

Flash Player is a closed system and exclusively controlled by Adoeb. Compared with the open H... the remaining full text>

What are the advantages of html5 over Flash?

Do not listen to the first floor. Compared with flash technology, HTML5 technology can use a local player to play webpage videos (for example, the iphone does not support flash and can also play videos on webpages). flash is very CPU-consuming compared with html5, it's okay on your computer. It looks like a special card on your phone. Even a dual-core mobile phone card will be used to play videos of hd p or above on Youku and Tudou. The most important reason is that flash relies heavily on the CPU, the performance on the computer is not obvious, and the performance on the mobile phone is card and power consumption (because it occupies a lot of CPU resources ).

All in all, the advantages of HTML5 technology over flash plug-ins are clearer, smoother, and lower CPU usage, just like playing a local video (your network speed is low .)

In addition: Android also supports the HTML5 technology. It seems that UC recently added support for HTML5, but I haven't made it yet. Now I can use HTML5 to watch videos in daily browsers.

It's all done by hand.

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.