HTML5

HTML5

作者:Mark Pilgrim

出版社:O'Reilly Media

出版年:2010-8-24

评分:8.0

ISBN:9780596806026

所属分类:行业好书

书刊介绍

内容简介

If you don't know about the new features available in HTML5, now's the time to find out. This book provides practical information about how and why the latest version of this markup language will significantly change the way you develop for the Web. HTML5 is still evolving, yet browsers such as Safari, Mozilla, Opera, and Chrome already support many of its features -- and mobile browsers are even farther ahead. HTML5: Up & Running carefully guides you though the important changes in this version with lots of hands-on examples, including markup, graphics, and screenshots. You'll learn how to use HTML5 markup to add video, offline capabilities, and more -- and you'll be able to put that functionality to work right away. * Learn new semantic elements, such as,, and * Meet Canvas, a 2D drawing surface you can program with JavaScript * Embed video in your web pages without third-party plugins * Use Geolocation to let web application visitors share their physical location * Take advantage of local storage capacity that goes way beyond cookies * Build offline web applications that work after network access is disconnected * Learn about several new input types for web forms * Create your own custom vocabularies in HTML5 with microdata

作品目录

1. How Did We Get Here?(HTML History)
2. Detecting HTML5 Features
3. What Does It All Mean?(HTML5 improvements and new semantic elements)
4. Let's Call It a Drawing Surface(Canvas)
5. Video on the Web
6. You Are Here (And So Is Everybody Else)(Geolocation API)
7. The Past, Present, and Future of Local Storage for Web Applications
8. Let's Take This Offline
9. A Form of Madness
10. "Distributed", "Extensibility", and Other Fancy Words(HTML5 microdata)
· · · · · ·

作者简介

Mark Pilgrim是Google公司的高级开发人员,专门研究开源技术和开放标准。Mark是多本技术书籍的作者,包括“Dive Into Python”(APress)和“Dive Into Accessibility”。后者是一本关于Web亲和力的免费在线教程。他和妻子、两个孩子及一条毛茸茸的大狗生活在北卡罗来纳。

精彩摘录

Butnoneofthisanswerstheoriginalquestion:whydowehaveanelement?Whynotanelement?Oranelement?Whynotahyperlinkwithanincludeattribute,orsomecombinationofrelvalues?Whyanelement?Quitesimply,becauseMarcAndreessenshippedone,andshippingcodewins.

——引自章节:past.html


Somethingsareclearerwithhindsightofseveralyears.ItisnecessarytoevolveHTMLincrementally.TheattempttogettheworldtoswitchtoXML,includingquotesaroundattributevaluesandslashesinemptytagsandnamespacesallatoncedidn’twork.

——引自章节:past.html

相关推荐

微信二维码