"HTML5" in this article sometimes refers not just to the HTML5 specification, which does not itself define ways to do animation and interactivity within web pages,[2] but to HTML5 and related standards like JavaScript or CSS 3. Animation using JavaScript is also possible with HTML 4.
^ Allows text to overflow into other text boxes, useful for desktop publishing.
^ Static text created using the Flash editor is automatically embedded and anti-aliased. Text fields created using ActionScript need fonts to be manually embedded for anti-aliasing to work.
Comparison
Software support
Flash
Web browsers cannot render Flash media themselves, instead it is rendered primarily using the proprietary but freely available Adobe Flash Player. Until 2008, there was no official specification which was allowed to be used to create an alternative player. Alternative players have been developed before 2008, but they support Flash to a lesser degree than the official one.[39]
Apple does not allow Flash to run on iOS, the operating system which runs on iPad, iPhone, iPod Touch and Apple TV. Apple stated that it had no plans to do so.[41]
In February 2012, Adobe announced it would discontinue development of Flash Player on Linux for all browsers except Google Chrome by dropping the support for NPAPI and using only Chrome’s PPAPI.[5][6]
HTML 5
All web browsers support HTML and other Web standards to various degrees.
As of March 2011[update] versions of browsers such as Internet Explorer, Firefox, Chrome, Safari, and Opera implement HTML5 to a large degree. However, many Internet users continue using older browsers such as Internet Explorer 8 (the highest version available to users of Windows XP), so portions of the HTML5 specification do not work with a significant fraction of browsers still in use.
Usage statistics
Flash Player usage statistics according to Adobe:
85% of the most-visited web sites use[ambiguous] Flash,
75% of web video is viewed using the Flash Player,
Until 2008, the use of Flash was covered by restrictive licenses. The conditions prohibited use of the specification to develop any software (including players) which could render or read (and thus convert) SWF files, and required the output SWF files to be compatible with Adobe’s players.[44]
In 2008, restrictions on use of the SWF and FLV/F4V specifications were dropped, and some specifications were released.[45] However, the “SWF File Format Specification Version 10” allegedly did not contain all the needed information, did not contain much information that hasn’t been previously known by the community,[46] and itself could not be copied, printed out in more than one copy, distributed, resold or translated, without written approval of Adobe Systems Incorporated.[47]
Various people have praised Flash over the years for rendering consistently across platforms. Constructing sites in Flash is a way to prevent code forking, whereby different versions of a site are created for different browsers.[48][49]
Speaking at 'Adobe Max' in 2011, Itai Asseo likewise said that, unlike HTML 5, Flash offers a way to develop applications that work across platforms. HTML 5, he said, is currently implemented differently (if at all) by different browsers. Although the Flash browser plugin is not supported on the Apple iPhone OS, Flash applications can be exported to Adobe AIR, which runs on that operating system as a native application. In the same talk, Mr. Asseo lamented the return to another browser war (as seen in the late 1990s). If Flash falls out of favor, he said, web developers will either have to develop many different versions of their web sites and native applications to take into account different HTML 5 implementations, deny access to browsers that do not support their version of HTML, or dramatically reduce the functionality of their sites in order to deliver content to the least-advanced browser.[50]
Authoring
Constructing Flash websites using Adobe tools is relatively easier than with integrated development environments for CSS, HTML, and JavaScript;[51] however, many of Adobe's tools are expensive and proprietary software.[51]
Tools for HTML5 are just starting to come to market; in the meantime, Adobe has released a first version of a Flash-to-HTML5 conversion tool for existing content[52] and are working on creating new tooling for HTML5 as well, like Adobe Edge.[53]
Because HTML5 is an open format, tools like those for Flash can be built for it, too. Applications like Hype[54] and Adobe Edge are already on the market.
Some users – especially those on Mac OS X and Linux – have complained about the relatively high CPU usage of Flash for video playback.[55][unreliable source?] This was partially because the Flash plugin did not use the GPU to render video. Adobe has responded to some of those criticisms in the 10.1 and 10.2 releases of the Flash plugin by offloading H.264 video decoding to dedicated hardware and by introducing a new video API called Stage Video.[56][unreliable source?] In addition, the use of the newer ActionScript 3.0 inside Flash movies instead of the older ActionScript 2.0 improves code execution speed by a factor of around 10. But older websites that use ActionScript 2.0 will not benefit from this.[57] The software routines written by developers can also affect the performance of applications built in Flash, reasons that would affect HTML5 animations as well.[58]
An HTML vs Flash comparison in 2010, listed non-Flash technologies as being slower than Flash when used for non-video animations,[59] but in January 2012 some of them were faster.[60]
Features
Flash has the ability to specify measurements in sub-pixel increments. This can result in a crisper and generally more pleasant appearance of Flash web sites. When confronted with CSS and HTML measurements on a sub-pixel scale, web browsers will round either up or down, depending on the browser, which leads to inconsistency and unreliability in the display of those pages.[51]
Flash offers webcam support, while HTML and related technologies did not until recently.[clarification needed]
There are, however, people working on adding "device support" (device API) to the HTML5 specification, which would allow for videoconferencing, access to webcams, microphones, USB-thumbdrives and other USB- or serial devices.[61][62]
HTML5 does not include any digital rights management functionality. Implementations can support DRM outside the scope of HTML, for example in codecs.[63] The proposal to add DRM features to HTML5 itself has been criticised by those who consider openness and vendor-neutrality (both server- and client-side) one of the most important properties of HTML, because DRM is incompatible with free software,[64][65] and in the proposed form potentially not more vendor-neutral than proprietary plug-ins like Flash.[66][67]
Accessibility
Both Flash and HTML text can be read by screen readers. However, special care must be taken to ensure Flash movies are read correctly. For example, if a Flash movie is set to repeat indefinitely, this can cause a screen reader to repeat the content endlessly. If the user is using the WindowEyes screen reader, they can press ALT + SHIFT + M to stop the animation. Also, selecting the "Make object accessible" check box in Adobe Flash Professional will create a text-only version of the object for screen readers. It will also hide any motion from the screen reader.[68] Since Flash content is usually placed on a single webpage, it appears as a single entry in search engine result pages, unless techniques like deep linking are used with libraries like SWFAddress to provide multiple links within Flash websites and web applications.
Search engines
Both Flash content and HTML content can be indexed by Google, Yahoo!, and Bing, although bi-directional text (e.g.Arabic, Hebrew) is not supported by Google.[69][70] Yahoo! added support for indexing Flash sites in 2008, although Google had been able to index them for several years before that. Bing added support for Flash sites in 2010.
Apple has been promoting HTML5 as an alternative to Flash for video and other content on the iOS, citing performance reasons for not allowing Adobe Flash Player to be installed on iOS devices, including the iPhone, iPod touch and iPad.[41][71][71] Flash applications can be packaged as native iOS applications using the Adobe Integrated Runtime and the iOS Packager.[72]
Tags: Comparison of HTML5 and Flash, Computer, 2256, Comparison of HTML5 and Flash HTML5 can be used as an alternative to Adobe Flash, [ ] Both include features for playing audio and video within web pages and integrated vector graphics are possible with both, HTML5, in this article sometimes refers not just to the HTML5 specification which does not itself define ways to do animation and interactivity within web pages [ 2 ] but to HTM, Comparison of HTML5 and Flash, English, Instruction Examples, Tutorials, Reference, Books, Guide afternoon college program blended, prestasi.web.id