HTML5ãšã¯äœã§ããïŒ
ä»æ¥ãHTML5ã«ã€ããŠãWebéçºã«äœããã®åœ¢ã§é¢ä¿ããŠãã人ã ã®æ°ã¯ãæ ãè ã ãã«èãããŠããããã§ã¯ãããŸããã Webã«äœããååšãããã¹ãŠã®ãã¡ãã·ã§ã³äŒè°ã§ãã»ãŒç¢ºå®ã«HTML5ã«ãäœããèããããšä»®å®ããŠããå€ãã倱ãããšã¯ãããŸããã GoogleãAppleãMicrosoftãAmazonãAdobeãOracleãFacebookãYandexãMail.ruãªã©ãã»ãŒãã¹ãŠã®äž»èŠãªWebé¢é£äŒæ¥ã¯ãHTML5ã«ã€ããŠèªããäœäžçŽã«ãããã£ãŠæã瀺ããHTML5ã®ããã¢ãŒã·ã§ã³ãšéçºã«åãçµãã§ããŸãã ããïŒ ïŒOperaãšMozillaã確ãã«ãã®ãªã¹ãã«èŒã£ãŠããŸããïŒ
ãã®æ®éçãªæ¬²æ±ã¯åã°ããããšãã§ããã ãã§ãã ãã¡ãããåžå Žåå è ãèªåã§æ¯åžãåŒã£åŒµãå§ãããŸã§ãããŒãã«ã«åº§ã£ãŠåæããŸãã
çŽ æŽãããå±æãæ°ããWebéçºã®æ³¢ãæ°äžä»£ã®Webã¢ããªã±ãŒã·ã§ã³ïŒ ãã£ãããã
HTML5ã«ã€ããŠã¯èª¬æããŸããã ãã®èšäºã®æèã§ã¯ã1ã€ã®ããšãæ確ã«ç解ããããšãéèŠã§ããHTML5ã«ã¯2ã€ã®ç解ããããŸãã
1ã€ã¯HTML5æšæºã§ããããã¯ããã¹ãŠã®æ°ããã¿ã°ãå±æ§ãæ°ããAPIãããã³Canvas APIãªã©ã®è¿œå ã®è©³çŽ°ãå«ãå€æ°ã®é¢é£ææžã説æããW3C Webãµã€ãäžã®ææžã§ãã
2ã€ç®ã¯ãã倧ãããŒã±ãã£ã³ã°ããã¬ã³ãHTML5ãHTML5ä»æ§èªäœãšå€ãã®CSS3ã¢ãžã¥ãŒã«ãããŸããŸãªJavaScript APIãããã³JavaScriptèªäœã®æ°ããæšæºã§ããECMAScript5ã®äž¡æ¹ãå«ããæ°äžä»£ã®æ°äžä»£ã®åã§ãã
ååãšããŠãã³ã³ããã¹ãã«ãããäœãå±éºã«ãããããŠããããæ確ã«ãªããæ··ä¹±ã¯ããŸããããŸããã HTML5ããŒã±ãã£ã³ã°ã¯ããã¹ãŠã®åžå Žåå è ããµããŒããã確ç«ãããæŠå¿µã§ãã ããããå€ãã®å ŽåïŒæãæãããšã¯ãããŸããïŒãHTML5ãœãŒã¹ã®å€ãã®èå³æ·±ãããšã話ãããšãã§ãããããWebæšæºãW3Cãšã¯é¢ä¿ãããŸããããè°è«ãããŠããããšãåžžã«æèããããšãéèŠã§ãããŠã§ãå šäœã®ç²Ÿç¥ããµããŒãããŸãã ãŸããåæè¡ã®èåŸã«ãããã®ãåæã®ãããã¿ã€ããããã³æ¢ã«ç¢ºç«ããåæãããä»æ§ãããå Žæãç解ããããšãéèŠã§ãã
ç§ã®è©±ã¯ãã倧ããªãHTML5ã«ããããããŸãããè°è«ãããç¹å®ã®æšæºãåç §ããããšããŸãã
HTML5ããã³HTML5ã®é©åœ
çŸä»£ã®Webãã©ãã«åãã£ãŠããã®ããããããç解ããããã«ãæåã«æ³šæããå¿ èŠãããã®ã¯ãITæ¥çå šè¬ãç¹ã«Webæ¥çã§èµ·ããŠããç¹åŸŽçãªå€åã§ãã ä»æ¥èŠãŠããäžçã¯ã5ã10幎åãšã¯èããç°ãªããŸãïŒHTML 4.01ã¯11幎以äžåã«æ¿èªãããããšãæãåºããŠãã ããïŒã
ãããã®å€æŽã®ãã¡ã次ã®ç¹ã«æ³šæããå¿ èŠããããŸãã
- æ°ããé ã ã°ã©ãã£ãã¯ãããã»ããããã«ãã³ã¢ããã»ããµãæºåž¯é»è©±ãªã©ã®å®å šã«ç°ãªãããã€ã¹ã貫éããããŸããŸãªã»ã³ãµãŒãããã³ãšãã«ã®ãŒå¹çã«å¯Ÿãã倧ããªèŠæïŒARMãšIntel AtomãæãåºããŠãã ããïŒã ããã«ãã¢ãã€ã«ããã€ã¹ãã¿ãã¬ãããã¿ãã¬ããããããããã¯ãã©ããããããããã¹ã¯ãããã³ã³ãã¥ãŒã¿ãŒããã¬ããŸã§ãããŸããŸãªãã©ãŒã ãã¡ã¯ã¿ãŒããããŸãã ãããŠãããªããã€ã³ã¿ãŒãããã«ã¢ã¯ã»ã¹ãããã©ãã§ãïŒ
- ãµãŒãã¹ã®æ°ãããã¬ã³ã ã ã¢ã¯ã»ã¹ããã€ã¹ã«é¢ä¿ãªããã¯ã©ãŠãã瀟äŒæ§ãã¢ããªãã£ãããã³ç¶ç¶çãªå¯çšæ§ã
- ãã©ãŠã¶ã®å€æŽ ã 競äºã®æ¿å-çŸåšãåžå Žã«ã¯5ã€ã®ãã©ãŠã¶ããããç¡èŠã§ããªãã»ã©ã®ã·ã§ã¢ãæã£ãŠããŸãã ããã«ããã¡ãããã¢ãã€ã«åç©å:)ãããŠéèŠãªãã€ã³ãïŒä»æ¥ïŒãŸãã¯ææ¥ïŒçŸä»£ã®ãã©ãŠã¶ã¯ãã°ã©ãã£ãã¯ã¢ã¯ã»ã©ã¬ãŒã·ã§ã³ããã«ãã³ã¢ã¢ãŒããã¯ãã£ãã»ã³ãµãŒãšããŸããŸãªã¡ãã£ã¢å ¥åããã€ã¹ããšãã«ã®ãŒå¹çãã¯ã©ãŠããããã³ãœãŒã·ã£ã«ãµãŒãã¹ã«ã€ããŠç¥ã£ãŠããŸãã ãããã³ã¢ããªãã£ã«ã€ããŠã å ·äœçãªè©³çŽ°ã¯ãã©ãŠã¶ããšã«ç°ãªãå ŽåããããŸãããå šäœçãªåŸåã¯æããã§ãã
ãããã¯ãã¹ãŠããŸããŸãªWebæšæºã§æ確ã«å ·äœåãããŠãããããä»æ¥ã§ã¯æ¬åœã«æ°ããäžä»£ã®ãã¯ãããžãŒããããŸãïŒããæè¿ãAdobeã¯Adobe MAXã«ã³ãã¡ã¬ã³ã¹ã§æ°ããæšæºãšãã®å®è£ ãªãã·ã§ã³-CSSã®ãã£ã«ã¿ãŒãšã·ã§ãŒããŒã®ææ¡ãçºè¡šããŸããïŒïŒ
- HTML ïŒã»ãã³ãã£ã¯ã¹ãã°ã©ãã£ãã¯ã¹ããã«ãã¡ãã£ã¢ãWebãã©ãŒã ãã»ãã¥ãªãã£ãDnDãå±¥æŽããªãã©ã€ã³...
- CSS ïŒãã©ã³ããè²ãå¢çç·ãšèæ¯ãã¬ã€ã¢ãŠããã¡ãã£ã¢ã¯ãšãªãå€æããã©ã³ãžã·ã§ã³ãšã¢ãã¡ãŒã·ã§ã³...
- API ïŒãžãªãã±ãŒã·ã§ã³ãDBããã³LocalStorageããœã±ããããã¡ã€ã«ãã¡ãã£ã¢ãã¯ãŒã«ãŒ...
- JS ïŒECMAScript5
ãŸããããã€ã¹ããœãããŠã§ã¢ããµãŒãã¹ãæšæºãããã³ããŸããŸãªéçºæ £è¡ã®ããããã¹ãŠã®é©æ°ã«ã¯å¯æ¥ã«çµ¡ã¿åã£ãŠããããšãç解ããããšãéèŠã§ããWebéçºããã³Webæšæºã®åéã§çŸåšç®æããŠããããšã¯ãããŸããŸãªãããã®æšæºãå®è£ ããã³ãµããŒããããœãããŠã§ã¢ïŒéçºããŒã«ãããã©ãŠã¶ãŒãOSãŸã§ïŒããããŠéã®ã¬ãã«ïŒããããGoogleã®å€¢ããå®çŸããwebmãããŒããŠã§ã¢ãµããŒãã¯äž»èŠãªããã€ã¹ã«çŸããã§ãããïŒã
ããã§ã¯ãå®éã«ãçŸä»£ã®Webãã©ã®ããã«å€åããŠãããããã®èåŸã«ãããã¯ãããžãŒãšãã©ã¯ãã£ã¹ã«ã€ããŠè©±ããŸãããã
5A
ãããã®å€æã®æ¬è³ªã説æããããã€ãã®éèŠãªåŸåã匷調ããããšããŸããã ãã®ããããã¹ãŠã®ãŠãŒã¶ãŒãæåãAãïŒè±èªïŒã®ç¹åŸŽçãªåèªãéžæã§ããWebãµã€ããŸãã¯Webã¢ããªã±ãŒã·ã§ã³ã®éçºããã³ç解ããã»ã¹ã«ãããã¢ããªã±ãŒã·ã§ã³ã®é åºã¯ãäžè¬ã«ã¢ã«ãã¡ãããé ãšäžèŽããŸãã :)
AAAAAãå€ããã°å€ãã»ã©è¯ãã§ãã å°ãªããéãã ããïŒ -è¯ãã ãã-æªãã
次ã®ãããžã§ã¯ããæ€èšããããçŸåšã®ãããžã§ã¯ããåæããããããšããããã®ãAãã®ããªãºã ãéããŠèŠãããšãã§ããŸãã
A1ã ã¢ã¯ã»ã·ãã«
æåã®Aã¯ã¢ã¯ã»ã¹å¯èœã§ãã ãµã€ãã«ã¢ã¯ã»ã¹ã§ããå¿ èŠããããŸãã ãã¡ãããããã«ã¯ãé害ãæã€äººã ïŒã¢ã¯ã»ã·ããªãã£ïŒã®ã¢ã¯ã»ã·ããªãã£ã®åé¡ãå«ãŸããŸãããããã ãã§ã¯ãããŸããã ãã®ãµã€ãã«ã¯ããã¹ãŠã®ã€ã³ã¿ãŒãããåå è ãã¢ã¯ã»ã¹ã§ããå¿ èŠããããŸããããã«ã¯ãæ€çŽ¢ãšã³ãžã³ããããã¥ã¡ã³ãã®æå³ãæœåºããããšãã¿ã¹ã¯ãšããããã°ã©ã ãå«ãŸããŸãã
ã»ãã³ãã£ãã¯ããŒã¯ã¢ãããšãJavaScriptã®ããŒã¯ã¢ãããã¹ã¿ã€ã«ãããžãã¯ã®é©åãªãã©ã³ã¹ã«ã€ããŠèŠããŠããã¹ãå Žæãšæéã次ã«ç€ºããŸãã ä»æ¥ãçŸå®ã«ã¯ãå¯èœã§ããã°ãã³ã³ãã³ããã¬ãŒã³ããŒã·ã§ã³ã®äžéšã«é¢é£ãããã¹ãŠã®ãã®ãããŒã¯ã¢ããããåãåºãããã ãã§ãªããJSã®äžéšãCSSã®å®£èšçãªèšè¿°ã«åã蟌ãŸããŸãã
ã»ãã³ãã£ã¯ã¹ã®èŠ³ç¹ãããæ§é çãªããŒã¯ã¢ãããšã³ã³ãã³ãã®çŽæ¥ããŒãã³ã°ã®äž¡æ¹ã®ããã«ãHTML5ã«å€ãã®æ°ããã¿ã°ãç»å ŽããŸããã
HTML5ã®ããã€ãã®æ¢åã®ã¿ã°ã¯ãæ°ããæå³ãæã¡ãŸãã ãããã£ãŠã以åã«iãšemã®éžæïŒ bãšstrongã«äŒŒãŠããïŒãçãã¹ãã«ã奜ãå Žåãå€ãã£ãå Žåããããã¯ããã©ã«ãã§ã€ã¿ãªãã¯ãŸãã¯ããŒã«ãã§åãè¡šçŸãæã£ãŠããå Žåã§ããç°ãªãã»ãã³ãã£ãã¯ããŒããæã€ã¿ã°ã§ãã
HTML5ã®èšäºãåç §ããŠãã ããã ã»ãã³ãã£ã¯ã¹ãŸãã¯æå³ã®ããããŒã¯ã¢ãã ã
äžè¬ã«ãããŒã¯ã¢ããã®ã»ãã³ãã£ãã¯ãå€ãããŽããå°ãªãã»ã©ãæ å ±ãã©ãã«ããã®ããïŒèªåçã«ïŒç解ãããããªããŸãã
ã€ãããŒã·ã§ã³ã®å¥ã®éšåã¯ãã¢ã¯ã»ã·ããªãã£ã®åé¡ã«çŽæ¥é¢é£ããŠããŸããããã§ã¯ããŸããã³ã³ãã³ãã®ç®çãšåœ¹å²ãããŒã¯ã§ããã¢ãªã¢å±æ§ãšããŒã«å±æ§ã«ã€ããŠèª¬æããŸãã ãã®æ å ±ã¯ãããšãã°ã¹ã¯ãªãŒã³ãªãŒããŒã§äœ¿çšã§ããŸãã ã¢ã¯ã»ã·ããªãã£ã確ä¿ããããšã¯æãäºçŽ°ãªäœæ¥ã§ã¯ãªããHTML5ã§ã¯ãã®åé¡ã«ã»ãšãã©åããŠæ³šæãæããããšèšããªããã°ãªããŸããã
ã¢ã¯ã»ã·ããªãã£ã®ãã1ã€ã®åŽé¢ã¯ãã³ã³ãã³ããšã®å¯Ÿè©±ã®å®¹æããç¹ã«å ¥åé床ã®åé¡ã§ãã HTML5ã«ã¯ãå ¥åå€ãç¯å²ãããã³ãã®ä»ã®ãã©ã¡ãŒã¿ãŒã®ã¿ã€ããæå®ããè¿œå ã®å±æ§ãæå®ã§ããWebãã©ãŒã ã®æ°æ©èœãå°å ¥ãããŠããŸãã ãã®ããããã£ãŒã«ãã«é»è©±ã®ã¿ãå ¥åã§ããå Žåãã¢ãã€ã«ãŸãã¯ã¿ãã¬ããããã€ã¹ãªã©ã®ãŠãŒã¶ãŒã®ãã©ãŠã¶ãŒã¯ãããžã¿ã«ããŒã¿ã®å ¥åå°çšã«ããŒããŒãã調æŽã§ããŸãã
æåŸã«ããã®ãããã¯ã§èšåããããåŸãªããããã¯ã¯HMTL Microdataã§ãã microdataã¯ãmicroformatsã®ã¢ã€ãã¢ã®çºå±ãè¡šããŠããã1ã€ãŸãã¯å¥ã®ã¹ããŒã ã«åŸã£ãŠããŒã¿æ³šéã«ãŒã«ãæäŸããŸãã
<div itemscope itemtype="http://schema.org/Person"> <span itemprop="name">Konstantin Kichinsky</span> <img src="http://a1.twimg.com/profile_images/1464844323/avatarh5f_reasonably_small.png" itemprop="image" /> <span itemprop="jobTitle">ADE</span> <a href="http://constantin.kichinsky.ru" itemprop="url">constantin.kichinsky.ru</a> </div>
BingãGoogleãYahooïŒã§ãµããŒããããŠãããã³ãã¬ãŒãã®ã³ã¬ã¯ã·ã§ã³ã«ã€ããŠã¯ã httpïŒ//schema.org/ã®ãµã³ãã«ã¹ããŒã ãåç §ããŠãã ããã
ã¬ã€ã¢ãŠããã¹ã¿ã€ã«ãããžãã¯éã®ã³ãŒãã®ãã©ã³ã¹ã®èŠ³ç¹ãããç§ãèšã£ãããã«ã2ã€ã®èå³æ·±ãåŸåããããŸãã æåã®æçœãªãã®ã¯ãHTML5ããã®ãã¹ãŠã®ã¹ã¿ã€ã«èŠçŽ ã®çœ®ãæãã§ããããã¯ãããã©ãŒãã³ã¹ã®èŠ³ç¹ãå«ããã€ã³ã©ã€ã³ã¹ã¿ã€ã«ã䜿çšããäžè¬çãªæãŸãããªãããšã§ãã
è¡šã¬ã€ã¢ãŠããšãããã¯ã¬ã€ã¢ãŠããæãåºãå¿ èŠã¯ãªããšæããŸãããä»æ¥ã¯ã»ãã³ãã£ãã¯ã¬ã€ã¢ãŠãã«è¿ã¥ããŠããŸãã
2çªç®ã®åŸåã¯ãCSSæ©èœã®æ¡å€§ãšãJavaScriptã³ãŒãã®ä»£ããã«é©åãªã«ãŒã«ã«ããããŸããŸãªå¹æãã¢ãã¡ãŒã·ã§ã³ãããã³å€æã®å®£èšçèšè¿°ã®åºçŸã§ãã
äž¡æ¹ã®åŸåã®å åãè€æ°å衚瀺ãããŸã;ïŒ
A2ã ã¢ãããã£ã
2çªç®ã®Aã¯é©å¿åã§ãã ãµã€ãã¯ãåšå²ã®ç°å¢ã«é©å¿ããå€éšç°å¢ã«é©å¿ããå¿ èŠããããŸãã ããã§ãé©å¿æ§ã¯ãµã€ãã®ã¢ã¯ã»ã·ããªãã£ã«é¢é£ããŠããã»ã©è¿œå çãªãã®ã§ã¯ãªãããããæ¡åŒµæ§ãšéçºã§ãããšèšããªããã°ãªããŸãããé©å¿æ§ã¯ã¢ã¯ã»ã·ããªãã£ã®ã¢ã€ãã¢ããçãŸããã¹ãã ããã§ãã
ããŸããŸãªç»é¢è§£å床ãããŸããŸãªãã©ãŒã ãã¡ã¯ã¿ãŒãããŸããŸãªãã©ã³ããµã€ãºãããŸããŸãªæ å ±åºåããã€ã¹ãããã³ãã®ä»ã®ãã©ã¡ãŒã¿ãŒã«é©å¿ããããšã¯ãããããã¹ãŠã®ã·ããªãªã§å©çšã§ããããšãæå³ããŸãã
ååãšããŠãé©å¿ã¯ç¹å®ã®æšæºã ãã§ãªããWebãµã€ãã®èšèšãšéçºã«äœ¿çšã§ããããŸããŸãªææ³ãšã¢ãããŒããããã³ãããã®ããããçµã¿åããã«ãåºã¥ããŠããŸãã ããã«é¢é£ããŠãééããªã泚ç®ãã¹ã2ã€ã®éèŠãªçšèªã«èšåããããšæããŸããã¬ã¹ãã³ã·ããã¶ã€ã³ïŒEthan Marcotteã«ããã¬ã¹ãã³ã·ãWebãã¶ã€ã³ãåç §ïŒãšããã°ã¬ãã·ããšã³ãã³ã¹ã¡ã³ãïŒã¹ãã£ãŒãã³ãã£ã³ããªã³ã«ããããã°ã¬ãã·ããšã³ãã³ã¹ã¡ã³ããšWebãã¶ã€ã³ã®æªæ¥ãåç §ïŒ ã
1ã€ç®ã¯ãããŸããŸãªç»é¢è§£å床ãšãã©ãŒã ãã¡ã¯ã¿ãŒã«é©å¿ããæ¹æ³ã§ãã 2çªç®ã¯ããµã€ãã§ã®äœæ¥äžã«ãããåçŽãªã¹ã¯ãªããããããé«åºŠãªã¹ã¯ãªããïŒããšãã°ãå€ããã©ãŠã¶ãŒããææ°ã®ãã©ãŠã¶ãŒïŒã«ç§»è¡ããæ¹æ³ã§ãã
ã©ããã§ãããšãã°ãããŸããŸãªæ¡ä»¶ïŒå°ããªããã€ã¹ã§ã¯å°ããã倧ããªããã€ã¹ã§ã¯å€§ããïŒã§ã¯ã©ã€ã¢ã³ãã«ç°ãªãç»åãæäŸããããã«ãç¹å®ã®æšæºãŸãã¯ç¹å®ã®ææ³ãé©çšããåé¡ã§ãã ã©ããã«ãããã¯é©åãªæ©èœãå©çšå¯èœã«ãªã£ããšãã«æ©èœãéçºããåé¡ã§ãã
ããŸããŸãªã·ããªãªã®å€§èŠæš¡ãªå³ãæ³åã§ããŸããæ°Žå¹³æ¹åã«ã¯ãã¹ãŠã®çš®é¡ã®ç»é¢è§£å床ïŒããã³é¢é£ãããã©ãŒã ãã¡ã¯ã¿ãŒïŒããããåçŽæ¹åã«ã¯ããŸãé«åºŠã§ãªããã©ãŠã¶ãŒããææ°ã®ãã©ãŠã¶ãŒã«ç§»åããŸãã ã¬ã¹ãã³ã·ããã¶ã€ã³ãšããã°ã¬ãã·ããšã³ãã³ã¹ã¡ã³ãã¯ãäžäžå·Šå³ã«ç§»åããïŒããã³èããïŒæ¹æ³ã§ãã
ããã€ãã®ç¹å®ã®ãã¯ãããžãŒãšWebæšæºãèŠãŠã¿ãŸãããã
CSS3ã¡ãã£ã¢ã¯ãšãª
çãããçŽé¢ããæåã®ã¿ã¹ã¯ã¯ãããŸããŸãªç»é¢è§£å床ã«ãµã€ããé©å¿ãããããšã§ãã ããã§ã®åé¡ã¯ããããããããããããããããç°ãªã£ãŠããŠãæ°ãããã®ãåžžã«ç»å ŽããŠããããšã§ãã WebéçºïŒãŸãã¯ãã¶ã€ã³ïŒã«1幎以äžæºãã£ãŠãããã¹ãŠã®äººããæå°ãµã€ãºã®800x600pxãã1024x768pxã®ãã倧ããªãµã€ãºã«åãæ¿ããææã§ãããã©ããã«ã€ããŠã®ããããã¹ãŠã®äŒè©±ãèŠããŠãããå¹³åçãªãŠãŒã¶ãŒã®ç»é¢ãµã€ãºã®çµ±èšãšåŸåãç 究ããŠãããšæããŸãã
äžè¬çã«èšãã°ãä»æ¥ããã®è³ªåãããã³ãã®ãããªè³ªåã®å®åŒåã¯ãã¯ãé¢ä¿ãããŸããã çç±ãç¥ã£ãŠããŸããïŒ å®éãåŸã ã«ç»é¢ãµã€ãºã倧ãããªãã®ã§ã¯ãªããç»é¢ãµã€ãºããŸããŸãå€æ§ã«ãªããäž¡åŽã§ã¯-480x800pxã®ãããªå°ããªã¢ãã€ã«ãµã€ãºã«ãªããçŸä»£ã®ã¢ãã¿ãŒã§ã¯1920x1080px以äžã«ãªããŸããã
ããã«ããã®å šç¯å²ã§ãææ°ã®ãã©ãŠã¶ãŒã¯ãšã³ãããã€ã¹ã§åäœã§ããŸã-IEãšã³ãžã³ïŒWindows Phoneãããã¹ã¯ãããWindowsïŒãŸãã¯WebkitããŒã¹ã®ãšã³ãžã³ïŒiPhoneããã³iPadããMacOS Xããã³ãã¹ã¯ãããWindowsïŒã®ããããããŸãã¯å®å šã«ããŸããŸãªã¢ãã€ã«ããã€ã¹ã®Javaãã©ãŠã¶ã®å·šå€§ãªåç©åãå«ãããŸããŸãªãšã³ãžã³ã
ç¹å®ã®ç¯å²ã§ã¯ããŽã ã®çµçã䜿çšã§ããŸãããå šèœã§ã¯ãªãããã®çšéã¯å¶éãããŠããŸãã ãããŠããã®ãããªå€æ§æ§ã«ãããŠãé©å¿ã«ã¯è¿œå ã®ããŒã«ãå¿ èŠã§ãã äžè¬çã«...
æ°åéææ°ã®ãšã³ãžã³ã«ãšã©ãŸããšããããã¯ãã¹ãŠMedia QueriesïŒããã¯CSS3ã¢ãžã¥ãŒã«ã®1ã€ïŒãšåŒã°ããç¹å¥ãªãã¯ãããžãŒããµããŒãããŠããããšãããããŸãã
CSS3 Media Queriesã¯ãHTML 4.01ããã³CSS 2.1ã§å©çšå¯èœãªåŸæ¥ã®ã¡ãã£ã¢ã¿ã€ããæ¡åŒµããããŸããŸãªåçã³ã³ããã¹ãèšå®ãç»é¢ãµã€ãºãããã€ã¹ã®åããè²æ·±åºŠãã¢ãã¯ããã«ã©ãŒå°å·ãªã©ã«å¿ããŠCSSã«ãŒã«ãããå³å¯ã«å®çŸ©ã§ããŸãã nã
ã¡ãã£ã¢ã¯ãšãªã®èåŸã«ããèãæ¹ã¯ãããããã¹ãŠã®ãã©ã¡ãŒã¿ãŒã®å€ã«å¿ããŠãã³ã³ãã³ãã®æçš¿æ¹æ³ã衚瀺ããã³ã³ãã³ãã衚瀺ããªãã³ã³ãã³ãã決å®ã§ãããšããããšã§ãã ç»é¢ãå°ããå Žåã¯ããã¹ãŠã®èŠçŽ ãåé 眮ããŠãå°ããªç»é¢ã«åççã«åãŸãããã«ããå¿ èŠããããŸãã倧ããå Žåã¯ãå©çšå¯èœãªã¹ããŒã¹ãããæé©ã«å©çšã§ããä»ã®å Žæã¯ãã£ãšè¡šç€ºãããŸãã ãµã€ãhttp://mediaqueri.esã§åéãããäŸã§ããã¹ãŠãã©ã®ããã«æ©èœããããèªåã§ç¢ºèªã§ããŸãã
ãšããã§ãã¡ãã£ã¢ã¯ãšãªã䜿çšããããšã¯ãã³ã³ãã³ãã®ããŒã¯ã¢ãããšãã¬ãŒã³ããŒã·ã§ã³ãå®éã«åé¢ãããšããäºå®ã«åŒ·ãçµã³ã€ããŠããŸãã ãããã£ãŠãã¢ã¯ã»ã·ããªãã£ïŒããã³ã»ãã³ãã£ã¯ã¹ïŒã¯æåç·ã«ãããŸãã å©ç¹ã¯ãç°ãªãããã€ã¹çšã«1ã€ã®ãµã€ããäœæããããšã§ãã ã¡ãã£ã¢ã¯ãšãªãç¥ããªãããã€ã¹ã¯ãã«ãŒã«ãç¡èŠããŸãã
éåžžãåçŽãªã·ããªãªã§ã¯ãCSS 2.1ãšMedia Queriesã¢ãžã¥ãŒã«ã®ã¿ã®æ©èœã§ååã§ãããè€éãªçµçã®å Žåãäœã䟡å€ã®ããå¹æçãªå®è¡ãè¡ãããã«è¿œå ã®ããŒã«ãå¿ èŠã§ãã
Media Queriesã®ã¢ã€ãã¢ãšããŸãæ©èœããä»ã®å€ãã®CSS3ã¢ãžã¥ãŒã«ããã£ãšæ°ã«å ¥ã£ãŠããã ããã§ãããã
CSS3 Exclusions and Shapes ïŒformerly Positioned FloatsïŒã«æ³šç®ããŠãã ãããããã«ãããåã ã®èŠçŽ ã®åšå²ã«æµããã³ã³ãã³ãã«å¯Ÿããçžå¯Ÿçãªäœçœ®ã調æŽã§ããã³ã³ãã³ãã®åäœã¯ç»é¢ãµã€ãºãé 眮ã¢ãŒããªã©ã®ä»ã®ãã©ã¡ãŒã¿ãŒã«ãã£ãŠæ±ºå®ã§ããŸãã
äžèšã®äŸã§ã¯ãCSS3 Exclusionsã¯ãè€æ°åã¬ã€ã¢ãŠãããã³ã°ãªããã䜿çšããã¬ã€ã¢ãŠããšçµã¿åãããŠäœ¿çšââãããŸãã
åŸè ã¯å¥ã ã«èšããªããã°ãªããŸããã ã°ãªããäžã«ãããã¯ãé 眮ããããšã¯ããã¹ãŠã®ã¿ã€ãã»ãã¿ãŒã«ãšã£ãŠå€§ããªé çã®çš®ã§ãã ããŒãã«ã¬ã€ã¢ãŠãã«ãªããšãæµè¡ããªããªããã»ãšãã©ã®äººããã®ã¢ãããŒããééã£ãŠãããšèªèããŸããã 2åãŸãã¯3åã®ã¬ã€ã¢ãŠããããè€éãªåŠçãå¿ èŠãªå Žåã圌ãã¯è€æ°é建ãŠã®css-rulesã§ãããã¯ã¬ã€ã¢ãŠãã䜿çšãå§ããŸããã
æ°ããCSS3ã¢ãžã¥ãŒã«ã«ã¯ããã®ç¹å®ã®ã¿ã¹ã¯å°çšã®ã¢ãžã¥ãŒã«ã§ããCSS3 Grid LayoutããããŸãã ã°ãªããã䜿çšãããšãä»®æ³ã°ãªããäžã«èŠçŽ ãæ§ç¯ã§ããŸãã ããã¯éåžžã«åŒ·åãªããŒã«ã§ã-ç°ãªãç»é¢æ¡åŒµã§ãããã¯ã«ç°ãªãã°ãªããã䜿çšã§ããããšãæ³åããŠãã ããïŒ ããã«ã§ããŸã;ïŒ
å¥ã®èå³æ·±ãã¢ãžã¥ãŒã«ã¯CSS3 Flexible Boxã§ã ãããã«ããããããã¯ã¯ã空ãã¹ããŒã¹ãåããŠããããç¹å®ã®å²åã§ãããã¯éã«ã¹ããŒã¹ãé åããŠãããã«ããããããåžæã«å¿ããŠå²ãåœãŠãããã¹ããŒã¹ãåããããšãã§ããŸãã ä»æ¥ãå€ãã®åæ§ã®ã¿ã¹ã¯ã¯ã¬ã€ã¢ãŠãããã³ã¹ã¿ã€ã«ã«ãŒã«ã®ããŸããŸãªããªãã¯ã䜿çšããŠè§£æ±ºãããŸãããææ¥ã¯å¿ èŠãªãã®ãæ£ç¢ºã«ç€ºãã ãã§ååã§ãïŒãªãã£ãŒãã·ã§ããŒãã«ããCSS3ãã¬ãã·ãã«ããã¯ã¹ã¬ã€ã¢ãŠãã®èª¬æãåç §ïŒã
äžè¬çã«ãçŸåšãŸãã¯è¿ãå°æ¥ã«å©çšå¯èœãªæè¡ã䜿çšããŠãããŸããŸãªæ¡ä»¶ã«é©å¿ããææ決å®ãç°¡åã«è¡ãããšãã§ããŸãã æè¡çã«ã¯1ã€ã®ãœãªã¥ãŒã·ã§ã³ã§ãããããæ¡ä»¶ã®ç°ãªããµã€ãã¯ç°ãªãã°ã«ãŒãã«åç·šæãããããããã®å Žåã«æé©ãªé¡ãèŠããããšãã§ããŸãã
ã§ã¯ãProgressive Enhancementã«æ»ããŸãããã
ããã°ã¬ãã·ããšã³ãã³ã¹ã¡ã³ã
ç°¡åã«èšãã°ãããã°ã¬ãã·ããšã³ãã³ã¹ã¡ã³ãã®ã¢ã€ãã¢ã¯ã挞é²çãªæ¹åãšããŠå®åŒåïŒãŸãã¯èŠãïŒã§ããŸãããã¹ãŠã®ãã©ãŠã¶ãŒã§æ©èœããåºæ¬æ©èœãäœæããããã©ãŒãã³ã¹ãäžæããããšãªããå€ãããŒãžã§ã³ããæ°ããããŒãžã§ã³ã«ç§»è¡ããããšã§ããã«æ¹åããŸãããææ°ã®ãœãªã¥ãŒã·ã§ã³ã®ãŠãŒã¶ãŒã«è¿œå ã®ãã³ãè¿œå ããŸãã
æçµçã«ãããã¯ãµã€ãã®ãã¹ãŠã®ãŠãŒã¶ãŒãæäœéã®æ©èœãä¿èšŒãããããšãæå³ããŸãããåæã«ãææ°ã®ãœãªã¥ãŒã·ã§ã³ã奜ã人ã«ãšã£ãŠã¯ãããšãã°ãµã€ãã¯ããçŸãããªããŸãã
ã¯ãããµã€ããã©ãã§ãåãããã«èŠãããšããèãããŸã æã£ãŠãããªãããããã²ãšãŸãšãã«ããŠãæãè¿ãæ祚箱ã«æã蟌ãæã§ãã ã©ãã§ãåãããã«èŠããããšã¯èš±å®¹ã§ããªããšãã«ã®ãŒã®æµªè²»ã§ãããå€çš®å€æ§ãªããã€ã¹ã®çŸä»£ã®ç¶æ³ã§ã¯ããšã³ãžãã¢ãªã³ã°ã«ä¹ããšããããããé²åã®èª€ç®ïŒãéã®èšèªã«ç¿»èš³ããïŒãŠãŒã¶ãŒã¯é©å¿ããæ¹æ³ãç¥ã£ãŠãã人ã奜ãïŒã®ããã§ãã
ã©ã®ããã«æ©èœããŸããïŒ ãšãŠãç°¡åã§ãã
CSS3 BordersïŒBackgroundsã®æŠåšã䜿çšããããšãèããŠããŸããïŒ ã©ãŠã³ãããµããŒãããŠããªã人ã®ããã«åè§ãäœããã©ãŠã³ãããµããŒãããŠããªã人ã®ããã«äžžãããŸãã ã©ãããŒã®æ§ç¯ãå²ã¿ãããã§ç¬èªã®ããŒãã§ã¯ããŒã«ããããšã¯ãããŸããã å€ããã©ãŠã¶ã®å Žåã¯ç¡å°ã®èæ¯ãäœæããææ°ã®ãã©ãŠã¶ã®å Žåã¯ã°ã©ããŒã·ã§ã³ãäœæããŸãã IE6-8ã§åäžã®èæ¯ç»åã§ååãªå Žåã¯ãIE9 +ã§è€æ°ã®èæ¯ã䜿çšãããŸãŸã«ããŠãã ããã
åºæ¬çãªæ©èœãäœæããæ°ããæ©èœãè¿œå ããŸãããå€ãã®æŸèæã¯å¿ èŠãããŸããã ãŠãŒã¶ãŒã¯ãæ°ããææ°ã®ãã©ãŠã¶ã«åãæ¿ãããšåãã§ãããã§ãããã圌ãã¯ããªãã®ãµã€ãã§æ¬åœã«éããæããŸãã
ããã°ã¬ãã·ããšã³ãã³ã¹ã¡ã³ãã¯ããã¬ãã®ã¢ãããžãŒã®ç²Ÿç¥ã§èããããšãã§ããŸãã ç§ãã¡ã¯ãçœé»æŸéããã«ã©ãŒãããã«é«ç²ŸåºŠã®ãããªãžãšé·ãéã®ããæ©ãã§ããŸããã ïŒã¢ããã°ãã¯ãããžãŒã«ã€ããŠè©±ããŠããéïŒãå€ããã¬ãã§ãææ°ã®çªçµãçœé»ã§è¡šç€ºã§ããŸãã èŠèŽè ã¯ãçŸä»£ã®ãã¬ãã§ã¯ç»åãè¯ããªãããšãç¥ã£ãŠããŸãã ãã ããéä¿¡ãããä¿¡å·ã¯ãã¬ãããç¬ç«ããŠããŸãã
A3ã ã¢ãžã£ã€ã«
3çªç®ã®Aã¯ã¢ãžã£ã€ã«ã§ãã äžçã¯è€éã§ãæã«ã¯ç°ãªããäžè¬çãªãã©ã¡ãŒã¿ãŒã«ã¢ã¯ã»ã¹ããŠé©å¿ããã ãã§ã¯äžååãªå ŽåããããŸãã ãµã€ãã¯æè»ã§ãªããã°ãªãããæè¡çãªæ±ºå®ã¯æè»ã§ãªããã°ãªããŸããã
å®éããã®èšäºã®ååã§ãæè»ããšããèšèã䜿çšããããšãæ§ããããšã¯ããªãå°é£ã§ããããããã¯äŸ¡å€ããããŸãã-ãããŠãããçç±ã§ãã
ãµã€ãã®é©å¿ããã®å¯çšæ§ã«åºã¥ããŠããå Žåãæè»æ§ã¯é å¿ã«åºã¥ããŠãããã¢ã¯ã»ã·ããªãã£ãæ¡åŒµããŸãã ããã¯ãããã®ããã«æãããããããŸããããé©å¿æ§ãšæè»æ§ã«ã¯éãããããŸãã
é©å¿ã«ã¯éåžžå¶éããããããŸããŸãªç°å¢å€åã«å¿ããŠå€èŠãè¡åã«å€åãçããŸãã ããšãã°ãç§ãã¡ã®ç®ã¯ãããŸããŸãªã¬ãã«ã®ç §æãåé¡ã®è¢«åäœãŸã§ã®è·é¢ã«é©å¿ããŸãã å€ãã®çç©ã®è¡åã¯æž©åºŠã®å€åã«é©å¿ããŸãã ãã®ããããµã€ãã¯ç¹å®ã®ç»é¢ãµã€ãºãŸãã¯ãã©ãŠã¶æ©èœã«é©å¿ããŸãã
段éçãªé©å¿ãäžå¯èœãªå Žåãããæå³ã®ãªãå ŽåããŸãã¯2ã€ã®æ¥µç«¯ãªãã€ã³ãéã®è·é¢ã倧ãããªããããŠããããã®éã®ãã¹ãå¥ã ã®ã·ããªãªã«åŒãè£ããããããªå€åã®ç¯å²ã§ããå Žåãæè»æ§ã¯éèŠãªãã€ã³ãã§çŸããŸãã ååãšããŠãæè»æ§ã¯æè¡ãã©ãããã©ãŒã ãè¶ ããŠå€åããããšãç¹åŸŽãšããŠããŸãã
æè»æ§ã¯æ°ãããã®ã§ã¯ãªããå®è·µããå€ãã®äººã«éŠŽæã¿ã®ãããã®ã§ããããã®ãããªã·ããªãªã®ããã€ãã«ã€ããŠã¯å°ãåŸã§èª¬æããŸãã ããŠãçŸåšãšæè¿ã®éå»ã«æ»ããŸãããã ææ°ã®ã¢ãã€ã«ãã©ãŠã¶ã¯éåžžã®ãŠã§ããµã€ãã§éåžžã«ããæ©èœãããºãŒã ã䜿çšããŠããããšããåãããããšãã§ããŸãã åè¿°ã®é©å¿ã«ãããå€èŠ³ã調æŽããããšã§ãã®ã·ããªãªãæ¹åã§ããŸãããããã¯åããµã€ãã§ãã çŸåšå®éã«é »ç¹ã«äœ¿çšãããŠãããœãªã¥ãŒã·ã§ã³ã¯ãã¢ãã€ã«çã®ãµã€ãã§ãã
ãããããŸããŸãªæ¹æ³ã§èŠãããšãã§ããŸãããèŠç¹ã®1ã€ã¯ã決å®ã®æè¡çæè»æ§ã§ãã ãã©ãããã©ãŒã ãšããããã®ãã©ãããã©ãŒã ã«å¿ èŠãªç¹å®ã®æ©èœãéåžžã«ç°ãªãå Žåãé©å¿åã·ããªãªã«é床ã®ã¹ãã¬ã¹ãããããããããç Žãæãæ¥ãŸããã ãããŠãããã«ã€ããŠäœãæªãããšã¯ãããŸããã
æ¬è³ªçã«ãæè»æ§ã¯éçãžã®é©å¿ã§èµ·ããããšã§ãã æè¡çæè»æ§-æèã®é©å¿ã§ããããã®ç®çã¯åé¡ã«å¯Ÿããå¹æçãªè§£æ±ºçã§ãã ããã¯ãç¹ã«ã䜿çšãããŠãããã¯ãããžãŒã®åŠ¥åç¹ã®æ¢çŽ¢ãšãå®å šã«ã¯ãã¹ãã©ãããã©ãŒã ã§ã¯ãªãã·ããªãªã®åºçŸã®äž¡æ¹ã«ã€ãªããå¯èœæ§ããããŸãã
ããšãã°ãHTML5ã§äœæãããæåãªã²ãŒã Angry Birdsã¯ãAdobe Flashã䜿çšããŠé³æ¥œããªãŒãã£ãªãšãã§ã¯ããåçããŸãã ããã¯å¥åŠã«æãããããããŸããããéåžžã®æè»ãªæè¡ãœãªã¥ãŒã·ã§ã³ã§ãããå¹ åºããã©ãŠã¶ã§å©çšã§ããéåžžã«å¹æçã«æ©èœãããã¯ãããžãŒã䜿çšã§ããŸãã ãã®å Žåãéçºè ã¯HTML5ã®ãªãŒãã£ãªèŠçŽ ãä»ããŠãªãŒãã£ãªãåçããéã«å€ãã®åé¡ã«çŽé¢ããŸããïŒã¡ãªã¿ã«ãInternet Explorerã§ã¯ãªããå¥ã®äžè¬çãªãã©ãŠã¶ã§ããïŒ;圌ãã¯åé¡ã解決ããããã«ãã©ãã·ã¥ã䜿çšããŸããã ããã¯ãå®æçãªææ ã䌎ããªãæè»ãªæè¡ã®çµã¿åããã®äŸã§ãã
å¥ã®å žåçãªäŸã¯ãAmazonã®Kindle Cloud Readerã§ãã ããã¯ããã©ãŠã¶ãä»ããŠçŽæ¥æ¬ãèªãããšãã§ãããã©ãŠã¶ããŒã¹ã®ã¢ããªã±ãŒã·ã§ã³ã§ããããªãã©ã€ã³ã¢ãŒãã§ãåäœããŸãã ãã®çŽ æŽãããç¬éãå°ãåŸã§æ€èšããŸãã ç§ãã¡ãä»èå³ãæã£ãŠããã®ã¯ãæè¡ã®æè»æ§ã§ãã
Amazonã®åæ©ã«é¢ããããžãã¹ã®è©³çŽ°ã¯ãã¹ãŠããããŸããããæçµçã«ã¯ãKindle Cloud Readerã¯ãã¢ããªã±ãŒã·ã§ã³ã¹ãã¢ããã€ãã¹ããŠããã©ãŠã¶ãŒãä»ããŠãšã³ããŠãŒã¶ãŒãšçŽæ¥ããåããããšããäŒç€Ÿã®é¡æãæ確ã«ç€ºããŠããŸãã äž»ãªå¯Ÿè±¡ãŠãŒã¶ãŒãèŠããšããããã¯iPadãšAndroidã¿ãã¬ããã®ãŠãŒã¶ãŒã§ãã
次ã®ç¬éãæè¡çãªè§£æ±ºçãèãããšãããã«èªãããã«ãŠãŒã¶ãŒã®ããã€ã¹ã«ãã¡ã€ã«ãä¿åã§ããããŒã«ã«ã¹ãã¬ãŒãžã®æè¡ãå¿ èŠã§ããããšãããããŸãã ããã§ãã¯ãããžãŒã®æ€çŽ¢ãéå§ããŸããããã¯ãäž¡æ¹ã®ãã©ãããã©ãŒã ããã©ãŠã¶ãŒã§æ¥ç¶ãããŠãããšããäºå®ã«ååãªã»ã©æ©ãåœãŠã¯ãŸããŸãããã©ãŠã¶ãŒã¯ç°ãªããŸãããã©ã¡ããWebkitãšã³ãžã³ã«åºã¥ããŠããŸãã
Webkitã¯WebSQLããŒã¿ããŒã¹ãã¯ãããžãŒããµããŒãããŠããŸããããã«ãããããŒã«ã«ã¹ãã¬ãŒãžã«ããŒã¿ãä¿åãããšããããŸãã«å¿ èŠãªããšãè¡ãããšãã§ããŸãã ãã®æç¹ã§ãæ°ããWebæšæºã«ç²ŸéããŠããå Žåã¯ãäœããã¯ãªãã¯ããå¿ èŠããããŸãã å®éãW3Cã®Webãµã€ãã§ã¯ããã¬ãŒã å ã«èµ€ãæåã衚瀺ãããé»è²ã®åïŒäžèšãåç §ïŒãä»ããé»ãèæ¯ã«ããã«çœãæåã衚瀺ãããŠããŸãã çŸå®ã«ã¯ãä»æ¥ãW3Cãšãã©ãŠã¶ãŒã®éçºè ã¯ã代æ¿ãã¯ãããžãŒã§ããIndexedDB ïŒããã³æ¯èŒçåçŽãªã·ããªãªã®å Žåã¯ããŒã«ã«ã¹ãã¬ãŒãžïŒãæ€èšããŠããŸãã
Amazonã®éçºè ã¯ãå°æ¥ã®ã¹ããŒã¿ã¹ãäžç¢ºå®ã§ãä»ã®ãã©ãŠã¶ãŒã§ã®ãµããŒããéå®çã§ããã«ãããããããéçºæã«å©çšå¯èœãªãã¯ãããžãŒã䜿çšããããšãæ¢ããŸããã§ããã
ããã¯ãã¯ãããžãŒã®æè»æ§ã§ãããããæå³ã§ã¯ãã¹ãŠã®æœåšçãªãŠãŒã¶ãŒãã¹ãŠã«æå¹ãªæ±ºå®ãäžãããšããªãã§ãäž»ã«äž»èŠãªèŠèŽè åãã«è£œåãäœãããšã決å®ããåæ°ãããããŸãã æè»æ§ã¯ãã¬ãŒããªããèªèããŸãã
æåŸã«ãæè»æ§ã®å¥ã®äŸã IE9ã§ã¯ãè¿œå æ©èœã䜿çšããŠWebãµã€ããã¿ã¹ã¯ããŒã«åºå®ããããšãå¯èœã«ãªããŸãã-ã¢ããªã±ãŒã·ã§ã³ãŸãã¯Webãµã€ãã¢ã€ã³ã³ã«å ããŠãããã¯ã³ã³ããã¹ãã¡ãã¥ãŒïŒéçããã³åçïŒããã¬ãã¥ãŒãŠã£ã³ããŠã®ãã¿ã³ã«ããã¢ããªã±ãŒã·ã§ã³ç®¡çãããã³ãŠãŒã¶ãŒãžã®éç¥ã§ãã
ãã®æè¡ã¯IEã§ã®ã¿äœ¿çšã§ããŸããããµã€ãã®æ©èœãæ¡åŒµããã¢ã¯ã»ã¹ããããããè¿œå æ©èœã«é©å¿ãããããã®ããããªåŽåã§æžã¿ãŸãã ããã¯ããµã€ããšé£åãããŠãŒã¶ãŒã®UXã®æè»ãªæ¡åŒµæ©èœã§ãã
æè»æ§ã¯æè¡çãªçŽåºŠã®åé¡ã§ã¯ãªãïŒãã®åé¡ã¯åžžã«é¢é£æ§ãä¿ã¡ãŸããã劥åãå¿ èŠãªå ŽåããããŸãïŒãæ¢åã®æ©èœã®äœ¿çšãšçŸåšã®åé¡è§£æ±ºã®æå¹æ§ã®åé¡ã§ãã
å€ãã®å ŽåïŒãããŠãããå€ãã®å ŽåïŒãæ°ãããã¯ãããžãå®éã«äœ¿çšããããšããç¶æ³ã«é¥ããŸããããã©ãŠã¶ã®æ¢åã®ãšã³ã·ã¹ãã ãæ¯ãè¿ããšãç§ãã¡ã¯èªåèªèº«ãåŒã£åŒµã£ãŠåæ¢ããªããã°ãªããŸããã æè»æ§ã¯ãã°ã¬ãŒã¹ãã«ãã°ã©ããŒã·ã§ã³ã®ã¢ã€ãã¢ã«ç®ãåããå¯èœãªéãææ°ã®ãœãªã¥ãŒã·ã§ã³ã䜿çšã§ããããã«ãããããäžå¯èœãªä»£æ¿ã·ããªãªã®æäŸã«åªããŠããŸãã
ãããã¯ãããããã©ãŒã«ããã¯ã¹ã¯ãªããã§ããããšãã°ãå€ããã©ãŠã¶ãŒã§ã¯ããµããŒããããŠããªãç¹å®ã®ïŒã«ãŒã«ãšããŠããã©ãŠã¶ãŒãæªãããã§ã¯ãªããå€ãããïŒã¡ã«ããºã ãä»ã®å©çšå¯èœãªãã¯ãããžãŒãéããŠå®è£ ãããŠããŸãã
- HTML5ãããªâFlash | SLâãã¡ã€ã«
- Webãœã±ããâFlash | SLâã³ã¡ãã
- ãã£ã³ãã¹âFlash | SL
- SVGâVML | ãã©ãã·ã¥| SL
- ...
å Žåã«ãã£ãŠã¯ãçŸåšã®ã¬ãã«ãšå€ããã©ãŠã¶ã«ãããã®ãšã®éã«çããéãã¯ãããããããªãã£ã«ã®å©ãã«ãã£ãŠæºããããŸãïŒããªãã£ã«ãšã¯ïŒ Remy Sharpã«ããïŒã
ãŸãããã©ãŠã¶ã®ãšã³ã·ã¹ãã ã®äžéšãé®æããåæ°ãããå ŽåããããŸããããŠãŒã¶ãŒãžã®æ¬æãå¿ããããšã¯ãããŸããã ããã¯æ¬åœã«éèŠã§ãã
ãããŠãã¡ãããæ©èœæ€åºã¢ãããŒããšModernizrã©ã€ãã©ãªã®äœ¿çšãå¿ããªãã§ãã ããã
A4ã éåæ
4çªç®ã®Aã¯éåæã§ãã ãµã€ãã¯ãç¹ã«ç§ãã¡ã®äžçãšãã®WebããŒãã®éåææ§ãç解ããå¿ èŠããããŸãã , â - , , , , .
, , . , , , .
, :
, , , .
, , ? : . : , . Application Cache HTML5 , .
, ? , , , timeout? , , ? ( ) . : - . AJAX , Web Sockets , .
, - , , , , File API? UI, . Web Workers Web Messaging, JavaScript .
, , . .
A5. Attractive
, A â Attractive. . , , , . , .
, , , - ( , ). .
â . - ( ) â , . , .
HTML5 â Canvas SVG, HTML5 Audio Video, CSS, , , .
, , , HTML5 Canvas. , , . !
Never Mind the Bullets . , CSS3 , . .
, Bing, , Bing - HTML5 Video ( , USA).
, .
5A. ãããã«
. 5A â , . . , , , -.
, , -, , , , .
5A. , !
ps IE
:
- HTML5 Semantic Tags â IE9+ (+HTML5 Shim <IE9)
- HTML5 Canvas, Audio + Video, SVG â IE9+
- HTML5 Offline|Application Cache, Web Forms â IE10+
- ARIA, role attributes â IE8+, IE9+
- CSS3 Media Queries, Transforms 2D, Fonts (Font-face + WOFF), Borders & Backgrounds (Border Radius, Multiple Backgrounds) â IE9+
- CSS3 Exclusions and Shapes, Grid Layout, Flexible Box, Transforms 3D, Transitions, Animations, Borders & Backgrounds (Gradients) â IE10+
- Web Storage â IE8+
- IndexedDB, Web Sockets, Web Workers, Web Messaging â IE10+
- IE Pinned Sites â IE9+
, IE .