资源描述:
《[HTML5.Hacks(2012.11)].Jesse.Cravens.文字版》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、HTML5HacksJesseCravensandJeffBurtoftHTML5HacksbyJesseCravensandJeffBurtoftCopyright©2013JesseCravens,JeffBurtoft.Allrightsreserved.PrintedintheUnitedStatesofAmerica.PublishedbyO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebastopol,CA95472.O’Reillybooksm
2、aybepurchasedforeducational,business,orsalespromotionaluse.Onlineeditionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinforma-tion,contactourcorporate/institutionalsalesdepartment:800-998-9938orcorporate@oreilly.com.Editors:SimonSt
3、.LaurentandMeghanCopyeditor:AudreyDoyleBlanchetteProofreader:RachelLeachProductionEditor:HollyBauerIndexer:JudithMcConvilleCoverDesigner:MarkPagliettiInteriorDesigner:DavidFutatoIllustrator:RebeccaDemarestNovember2012:FirstEditionRevisionHistoryfortheFirst
4、Edition:2012-11-09FirstreleaseSeehttp://oreilly.com/catalog/errata.csp?isbn=9781449334994forreleasedetails.NutshellHandbook,theNutshellHandbooklogo,andtheO’ReillylogoareregisteredtrademarksofO’ReillyMedia,Inc.HTML5HacksandrelatedtradedressaretrademarksofO’
5、ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarks.Wherethosedesignationsappearinthisbook,andO’ReillyMedia,Inc.,wasawareofatrademarkclaim,thedesignationshavebeenprintedincapsorinitialcaps.Whil
6、eeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorsassumenoresponsibilityforerrorsoromissions,orfordamagesresultingfromtheuseoftheinformationcontainedherein.ISBN:978-1-449-33499-4[LSI]TableofContentsPreface........................
7、.....................vii °HackingtheSemanticWay..............................1Hack01.SimplifyYourDocwiththeRight1Hack02.AdoptCommonStructures2Hack03.MakeYourNewHTML5TagsRenderProperlyinOlderBrowsers5Hack04.BringBacktheTag11Hack05.EasilyImpl
8、ementFormValidationWithoutJavaScript16Hack06.ImprovetheUsabilityofYourFormswithNewControls24Hack07.KnowWhat’sGoingOninYourAppwithNewDOMEvents37Hack08.AddRichContexttoYourMarkupwithCustomData40Hack09.TrackUser