apress foundation - html5 canvas, for games and entertainment (2011)

318 806 0
apress foundation -  html5 canvas, for games and entertainment (2011)

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... elements and features we aren t discussing further, here are a few resources for you to consume at your leisure Introducing HTML5, by Bruce Lawson and Remy Sharp [http://introducinghtml5.com/] HTML5 Doctor [http://html5doctor.com/ ] Dive Into HTML5, by Mark Pilgrim [http://diveintohtml5.org/ ] WHATWG HTML5 Specification [www.whatwg.org/specs/web-apps/current- work/multipage/ ] 22 Chapter 2 Foundation. .. of HTML5, which is still ongoing to this day I explained the reasons why HTML5 is needed, and how it is going to meet those needs We ve taken a look at all of the major new elements and and features of HTML5, learning their purpose and the ways they can be used You ve learned how to put all of this together to construct a Web page in HTML5 Lastly, I ve made clear the confusion surrounding HTML5 and. .. YouTube and Vimeo are already rolling out experimental HTML5 video support in preparation for the maturing and future uptake of HTML5 In any case, you can always use a traditional Flash video as fallback for a HTML5 video if you really want to use it on your website Note: A major reason why HTML5 media is so important is that it provides a completely open way of implementing audio and video Before this... to HTML in both development and use CSS3 is not part of the HTML5 specification (it never was, and never will be) They are two completely different technologies – one for structure and layout, the other for presentation – that, because of their close proximity in use, have been bundled together for some reason The bottom line? Don t refer to CSS3 as HTML5 Is CSS3 part of HTML5? No – it s a styling technology;... aren t part of the HTML5 umbrella, they all solve a distinct purpose and they should be embraced and used together with HTML5 whenever possible The point of this section is to highlight the reason why these technologies aren t part of HTML5, not to put you off using them altogether For example, by combining WebSockets with HTML5 canvas you can create amazing real-time multiplayer games Now that s a... introduced with HTML5 to save the day You d be forgiven for thinking video is harder to implement in HTML5 than audio Fortunately for us, these two media elements stem from the same guidelines, meaning that they use similar attributes and are implemented in similar ways A simple video element would look something like this (see Figure 1-2 ) 7 10 https://wiki.mozilla.org/Audio_Data_API INTRODUCING HTML5

Ngày đăng: 21/03/2014, 11:47

Từ khóa liên quan

Mục lục

  • Cover

    • Contents at a Glance

    • Contents

    • About the Author

    • About the Technical Reviewer

    • About the Cover Image Designer

    • Acknowledgments

    • Preface

      • Who is this book for?

      • How is this book structured?

      • Introducing HTML5

        • A brief history of HTML

        • Why is HTML5 needed?

          • The itch

          • Scratching the itch

          • What s new in HTML5?

            • Structural and content elements

            • Forms

            • Media elements

            • Deconstructing an example HTML5 page

              • Line by line analysis

              • Misconceptions about HTML5

                • The CSS3 misconception

                • The Web Fonts misconception

                • The Geolocation misconception

                • The SVG misconception

                • The Web Storage misconception

Tài liệu cùng người dùng

Tài liệu liên quan