- HTML5 for Flash Developers
- Matt Fisher
- 394字
- 2021-08-13 16:28:28
HTML5 limitations
If you haven't noticed by now, many of the HTML5 features you will use either have failsafes, multiple versions, or special syntax to enable your code to cover the entire spectrum of browsers and supported HTML5 feature sets within them. As time passes and standards become solidified, one can assume that many of these failsafes and other content display measures will mature into a single standard that all browsers will share. However, in reality this process may take a while and even at its best, developers may still have to utilize many of these failsafe features indefinitely. Therefore, a solid understanding of when, where, and why to use these failsafe measures will enable you develop your HTML5 web pages in a way that can be viewed as intended on all modern browsers.
To aid developers in overcoming these previously stated issues, many frameworks and external scripts have been created and open sourced, allowing for a more universal development environment saving developers countless hours when starting each new project. Modernizr (http://modernizr.com) has quickly become a must-have addition for many HTML5 developers as it contains many of the conditions and verifications needed to allow developers to write less code and cover more browsers. Modernizr does all this by checking for a large majority (more then 40) of the new features available in HTML5 in the clients browser and reporting back if they are available or not in a matter of milliseconds. This will allow you as the developer to determine if you should display an alternate version of your content or a warning to the user.
Getting your web content to display properly in all browsers is and always has been the biggest challenge for any web developer and when it comes to creating cutting edge interesting content, the challenge usually becomes harder. This chapter will not only cover many of the new HTML5 content manipulation features, but demonstrate them in code examples as well. To allow you to better understand how these features look without the use of third-party integration, we will avoid using external libraries for the time being. It is worth noting how each of these features and others look in all browsers. Therefore make sure to test the examples as well as your own work in not just your favorite browser, but many of the other popular choices as well.
- Embedded Linux Projects Using Yocto Project Cookbook
- 自己動手實(shí)現(xiàn)Lua:虛擬機(jī)、編譯器和標(biāo)準(zhǔn)庫
- PHP 從入門到項(xiàng)目實(shí)踐(超值版)
- 深入淺出Prometheus:原理、應(yīng)用、源碼與拓展詳解
- 從0到1:HTML+CSS快速上手
- 云原生Spring實(shí)戰(zhàn)
- Scratch 3.0少兒編程與邏輯思維訓(xùn)練
- C語言程序設(shè)計案例精粹
- Learning DHTMLX Suite UI
- Python之光:Python編程入門與實(shí)戰(zhàn)
- ServiceNow:Building Powerful Workflows
- Java Web從入門到精通(第3版)
- Java Web從入門到精通(第2版)
- Mudbox 2013 Cookbook
- 零基礎(chǔ)學(xué)C++(升級版)