html5 guidelines for web developers (2011)

321 616 0
html5 guidelines for web developers (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

[...]... intelligent forms, offline applications, and microdata (to name but a few), this overview also includes topics in the immediate context of HTML5 for example, geolocation, web storage, WebSockets, and web workers Numerous compact, clear, and practical examples illustrate the new elements and techniques in HTML5 There is something here for everyone, whether you decide you want to construct a web log, program... years of experience programming web applications xiii This page intentionally left blank 1 Overview of the New Web Standard As is appropriate for a web standard, the story of HTML5 starts with the World Wide Web Consortium (W3C), or more precisely, with the W3C Workshop on Web Applications and Compound Documents in June 2004 But rather unusually, the development of HTML5 initially took place outside... pronunciation More useful for us is mark for emphasizing terms or wbr to show that a line break could be inserted at a certain point if necessary Some elements tend toward web applications, such as keygen for generating key pairs for encryption or digital signatures, command for executing commands, or output as a result of calculations in forms or other parts of a document As a container for option elements,... Stachowiak This select circle of developers from the browser and HTML community was to shape the fate of HTML5 from then on, together with the active WHATWG community Three specifications were initially on the agenda of Ian Hickson, who took on a central role as editor: Web Forms 2.0 as advancement of HTML forms; Web Apps 1.0, which focused on application development within HTML; and Web Controls 1.0, a specification... external to the form in question and be, as it were, linked to the desired form Attributes, such as min, max, step, required, pattern, multiple, or autocomplete determine restrictions or conditions for input elements, influence the validation of the entered data with formnovalidate and novalidate, and offer practical help for filling in forms with placeholder or autofocus What happens when the form is submitted... you can create a local copy: zz svn co http://svn.whatwg.org/webapps webapps You can also access Commit messages of the individual revisions via Twitter, a mailing list, or the web interface, the so-called web- apps-tracker: zz http://twitter.com/WHATWG zz http://lists.whatwg.org/listinfo.cgi/commit-watchers-whatwg.org zz http:/ /html5. org/tools /web- apps-tracker Whereas the WHATWG specification changes... and Web Forms was integrated into Web Apps at a later time The working method of the WHATWG has always been geared toward collaboration with the community; if you look at the homepage (see Figure 1.1), you can see this very clearly 1.1  How It All Started Figure 1.1  WHATWG homepage at http://www.whatwg.org Anyone looking for help with learning or using HTML5 will find answers under FAQ, Help, and Forums... option elements, datalist offers nonvisible select lists for form fields For listing alternative resources for video and audio elements, there is source— the browser picks the first known format from this list to play the file And last but not least is the frequently used embed element introduced by Netscape, now in an amended version Figure 1.2  New HTML5 elements 1.3  In Medias Res The input element also... http://www.w3.org/TR/html-polyglot Another WHATWG document exists in which all the WHATWG sections are combined with additional specs for Web Workers, Web Storage, and the Web Sockets API This document, Web Applications 1.0—Living Standard, is well suited to serve as an endurance test for HTML rendering: With more than 5MB of source code and JavaScript to display the implementation stage of each section, plus... Another important part of HTML5 is that of new programming APIs, for example, the canvas element API, an API for playing audio and video contents, and an interface for programming offline web applications Further APIs are devoted to the topics drag-and-drop, editing documents, or governing the browser history The specification even contains some initially exotic-seeming APIs for registering and applying . on the Web: informit.com/aw Library of Congress Cataloging-in-Publication Data Förster, Klaus, 1964- [HTML 5. English] HTML5 guidelines for Web developers. • Madrid Capetown • Sydney • Tokyo • Singapore • Mexico City HTML5 Guidelines for Web Developers Klaus Förster Bernd Öggl Figure 4.9 © 2008 Blender

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

Từ khóa liên quan

Mục lục

  • Contents

  • Preface

  • About the Authors

  • 1 Overview of the New Web Standard

    • 1.1 How It All Started

    • 1.2 Time Travel through Historic Events

    • 1.3 In Medias Res

      • 1.3.1 What Is New?

      • 1.3.2 What Has Become Obsolete?

      • 1.3.3 And What About XHTML?

      • 1.4 Can I Start Using HTML5 Now?

      • Summary

      • 2 Structure and Semantics for Documents

        • 2.1 Header with “header” and “hgroup”

        • 2.2 Content with “article”

        • 2.3 Footer with “footer” and “nav”

        • 2.4 Sidebar with “aside” and “section”

        • 2.5 The Outline Algorithm

        • 2.6 Figures with “figure” and “figcaption”

        • 2.7 Text-Level Semantics—More New Tags

          • 2.7.1 The Elements “ruby,” “rt,” and “rp”

          • 2.7.2 The “time” Element

          • 2.7.3 The “mark” Element

          • 2.7.4 The “wbr” Element

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

  • Đang cập nhật ...

Tài liệu liên quan