HTML 5ã¯ãHTMLã®çžäºéçšæ§ãåäžããããªããã§æ··åšããWebã³ã³ãã³ãã®å¢å€§ããèŠæ±ãæºããããšãç®çãšããŠããŸãã HTML 5ã¯ã第4ããŒãžã§ã³ã®æ¬ ç¹ã«å¯ŸåŠããããšãç®çãšããŠããŸãã ãã®èšäºã§ã¯ãHTML 5ã®5ã€ã®èå³æ·±ãæ°æ©èœãåãäžããŸãã
ããã¯ãWebéçºè ããã³ãã¶ã€ããŒã§ãããWebéçºãšãã¶ã€ã³ã«é¢ããããã°ã§ããSix Revisionsã®èè ã§ããã²ã¹ãJacob Gubeã«ããèšäºã§ãã
ã¡ãã£ãšããæŽå²
HTML 5ã®æ³šææ£æŒ«ãªåçã¯2003幎æ«ã«å§ãŸããŸããã World Wide Web Consortium ïŒW3CïŒã¯ãWebãããã³ã«ãšæšå¥šæšæºãç£èŠããçµç¹ã§ãããAppleãMozilla FoundationãOpera Softwareã®ä»£è¡šè ãã2004幎ã«çµæãããWeb Hypertext Application Technology Working Group ïŒWHATWGïŒã«ãã£ãŠéçºãããHTML 5ãã©ããã«é¢å¿ã瀺ããŠããŸãã ãã®çµæã2007幎ã«HTML 5ä»æ§ãéçºããããã«ã W3C HTMLã¯ãŒãã³ã°ã°ã«ãŒããçµæãããŸããã
éçºãé²è¡äžã§ãHTML 5ã¯2012幎ã«W3Cå§ååè£ã®ã¹ããŒã¿ã¹ã«éãããšäºæ³ãããŠããŸãããçŸåšã®ã»ãšãã©ã®ãã©ãŠã¶ãŒã¯HTML 5ä»æ§ãéšåçã«ãµããŒãããŠããŸãã
æ°ãããšããµã€ãã£ã³ã°ãªæ©èœ
1.ã³ã³ãã³ããããé©åã«èª¬æã§ããæ°ããHTMLèŠçŽ
HTMLã®äž»ãªã¿ã¹ã¯ã¯ãWebããŒãžã®æ§é ãèšè¿°ããããšã§ãã ããšãã°ã<p> </ p>èŠçŽ ã§å²ãŸããããã¹ãã¯ããããã®èŠçŽ éã®ããã¹ãã段èœã§ããããšããã©ãŠã¶ã«äŒããŸãã
WebããŒãžã®ã³ã³ãã³ããæ£ç¢ºã«èšè¿°ããããã«ãããŸããŸãªWebã³ã³ãã³ããHTML 4ã®ç¯å²ãè¶ ããŠããŸãã å žåçãªäŸã¯ããããªãšãªãŒãã£ãªã®ã¹ããªãŒãã³ã°ã§ãã ããã²ãŒã·ã§ã³ã¡ãã¥ãŒãåæšãªã©ã®Webãµã€ãã®äžéšïŒéåžžã¯èŠåºãã«ãããŸãïŒã¯ãã»ãšãã©ã®WebããŒãžã«ååšããŸãã ããã«éèŠãªããšã¯ãçŸåšã®HTMLä»æ§ã«åããŠãJavaScriptãFlashãããã³ãµãŒããŒåŽã®æè¡ã®æ¹åãã ãªããã€ã³ã¿ãŒãããã¢ããªã±ãŒã·ã§ã³ ãã¬ã¹ãã³ã·ãããŠãŒã¶ãŒæåããã©ãŠã¶ãŒããŒã¹ã®ã¢ããªã±ãŒã·ã§ã³ã®æ®åãä¿é²ããŠããããšã§ãã
å€ãã®HTMLèŠçŽ ãè¿œå ããããšã«ãããHTML 5ã¯ãéçºè ãããŒã¿ãããæ£ç¢ºãã€æ£ç¢ºã«èšè¿°ããæ¹æ³ãæäŸããããšãç®æããŠããŸãã
äŸãšããŠãçŸåšã®HTMLä»æ§ã«åŸã£ãŠãå žåçãªWebããŒãžã®æ§é ãã©ã®ããã«èšè¿°ãããã瀺ããŸãã
ãã®ããŒã¯ã¢ãããªãã·ã§ã³ã®åé¡ã¯ããã©ãŠã¶ã®å Žåããã¹ãŠã®èŠçŽ ã<div>èŠçŽ ã§ããããšã§ãã ãã©ãŠã¶ã¯<div>èŠçŽ å ã®ãã¹ãŠãåãæ¹æ³ã§åŠçããŸããããã¯ããããã¯éã®éããèŠããããã³ã³ãã³ãããµã€ãããŒãããã¿ãŒãªã©ã®ã¯ã©ã¹ãšèå¥åããµã€ãããšã«ç°ãªãããã§ãã
HTML 5ã§ã¯ãåãããŒãžã®ã¬ã€ã¢ãŠããç°ãªãæ¹æ³ã§èª¬æã§ããŸãã
ãã®ããŒã¯ã¢ããã§ã¯ããã©ãŠã¶ã¯åéšåã®ç®çãç¥ã£ãŠããŸãã 圌ã¯ãããŒãžã®ã¡ã€ã³ã³ã³ãã³ãã<article>èŠçŽ å ã«ããããšãWebãµã€ãããã²ãŒã·ã§ã³ã<nav>èŠçŽ å ã«ããããšãªã©ãç¥ã£ãŠããŸãã
å®éã®äœ¿çšã¯ãé åçãªå€èŠ³ãšããæå³çãªããŒã¯ã¢ããã§çµããããã§ã¯ãããŸããã ãããã®é©æ°ã«ãããããŒã¯ã¢ããã®çžäºéçšæ§ãåäžããŸãã ããšãã°ãæ€çŽ¢ããããªã©ã®å€éšã·ã¹ãã ã¯ãWebããŒãžäžã®ã©ã®ã³ã³ãã³ããããéèŠããããæ£ç¢ºã«å€æã§ããŸãã ãããã®ã·ã¹ãã ã«ã¯ãããŒãžäžã®éèŠãªã³ã³ãã³ããå«ãŸããŠããªãå¯èœæ§ãé«ãããããããã®ã·ã¹ãã ã§ã¯<nav>ããã³<footer>èŠçŽ ã®åŠçãã¹ãããã§ããŸãã ãã®çµæãæŽåœ¢åŒã®HTML 5ããã¥ã¡ã³ãã¯ãæ€çŽ¢ãšã³ãžã³ããã®ã³ã³ãã³ããããããç解ã§ããããã«ããŸãã
unningãªéçºè ã¯ãWebãµã€ãã®ã°ã«ãŒãã®<article>ã»ã¯ã·ã§ã³ã®ã¿ãåéããŠããŒã¿ããŒã¹ã«ä¿åããã¢ããªã±ãŒã·ã§ã³ãäœæã§ããŸããããšãã°ããã¹ãŠã®<video>èŠçŽ ãèŠã€ããŠãããŒãžäžã®ãããªå šäœã®ãªã¹ããçæã§ããŸãã
èŠèŠé害è ã®ããã¹ããèªãããšãã§ãããœãããŠã§ã¢ã«ããããŠãŒã¶ãŒã¯ã¡ã€ã³ã³ã³ãã³ãã®ã»ã¯ã·ã§ã³ã«ãã°ãããžã£ã³ãã§ããŸãã WebããŒãžã®ã¡ã€ã³ã³ã³ãã³ããèªã¿ããå Žåã¯<article>èŠçŽ ã«çŽæ¥ç§»åã§ããå¥ã®ããŒãžã«ç§»åãããå Žåã¯<nav>èŠçŽ ã«çŽæ¥ç§»åã§ããŸãã
2. Webãã©ãŒã ã®æ¹åãããäœæ¥
æè¿ã§ã¯ããŠã§ããµã€ãäžã®ãã©ãŒã ãªãã§è¡ãããšã¯å°é£ã§ãã ããã°ã«ã³ã¡ã³ããæçš¿ãããããŠãŒã¶ãŒã¢ã«ãŠã³ããç»é²ããããGmailã«ã¡ãŒã«ãéä¿¡ããããããšããããã«ééããŸãã HTML 5ã¯ã Webãã©ãŒã ã®äœ¿çšæ¹æ³ã®åèãå«ãWebãã©ãŒã 2.0ãšåŒã°ããä»æ§ãæäŸããŸãã Webéçºè ã«ãå ¥åãã£ãŒã«ããå¹ççãã€ç°¡åã«ç®¡çãããã©ãŒã ãéä¿¡ããããã®å€ãã®ãªãã·ã§ã³ãšæ°æ©èœãæäŸããŸãã
Web Forms 2.0ã§æãå°è±¡çãªããšã®1ã€ã¯æ€èšŒã§ãã çŸåšãéçºè ã¯JavaScriptïŒã¯ã©ã€ã¢ã³ãåŽïŒãŸãã¯PHPïŒãµãŒããŒåŽïŒã³ãŒãã䜿çšããŠå ¥åãæ€èšŒããå¿ èŠããããŸãã ããšãã°ãå€ãã®Webãã©ãŒã ã«ã¯å¿ é ãã£ãŒã«ããå«ãŸããŠããŸãïŒããšãã°ããŠãŒã¶ãŒåãŸãã¯ã¡ãŒã«ãã£ãŒã«ãçšïŒã
HTML 4ã§ã¯ããã®ãããªãã©ãŒã ã®ããŒã¯ã¢ããã¯æ¬¡ã®ããã«ãªããŸãã
çŸåšããŠãŒã¶ãŒå ¥åãæ€èšŒããã«ã¯ã¹ã¯ãªããã䜿çšããå¿ èŠããããŸãã ãã®äŸã§ã¯ãéçºè ã¯ç¬èªã®æ€èšŒã³ãŒããèšè¿°ïŒãŸãã¯ã以åã«äœæããã³ãŒãã䜿çšïŒããŠãå¿ èŠãªãã£ãŒã«ãã誀ã£ãŠå ¥åãããŠããªãããšããŸãã¯æå®ãããé»åã¡ãŒã«ã¢ãã¬ã¹ãæ£ããæå®ãããŠããããšã確èªããå¿ èŠããããŸãïŒéåžžãããã¯æ£èŠè¡šçŸã§ç¢ºèªããŠè¡ãããŸãïŒã
äœæè ãæ€èšŒã¹ã¯ãªãããªãã§ããŒãžãåŠçã§ããããã«ããããã«ãHTML 5ïŒçŸåšã®Web 2.0ä»æ§ïŒã§ã¯ãã required ããã email ããªã©ã®è¿œå å±æ§ãæäŸãããŸãããããã®å±æ§ã¯ããã£ãŒã«ããå ¥åãããé»åã¡ãŒã«ãã£ãŒã«ããæ£ããå ¥åãããŠãããã©ãããèªåçã«ãã§ãã¯ããŸã
3. Webã¢ããªã±ãŒã·ã§ã³éçºã容æã«ããAPI
HTML 5ã¯ãWebã¢ããªã±ãŒã·ã§ã³ã®éçºãæ¹åããããšãç®çãšããæ°èŠããã³æ¢åã®èŠçŽ çšã®ããã€ãã®APIãå°å ¥ããéçºè ãWebã¢ããªã±ãŒã·ã§ã³ã®ããŒã¯ã¢ãããäœæã§ãããšããç¹ã§HTML 4ã®æ¬ ç¹ã«å¯ŸåŠããããã«èšèšãããŠããŸãã
ãããã®APIã®1ã€ã¯ã<audio>èŠçŽ ãš<video>èŠçŽ ã䜿çšããŠãªãŒãã£ãªãšãããªã§åäœããããã«ç¹å¥ã«èšèšãããŠããŸãã ãã®APIã¯ããªãŒãã£ãªãšãããªãåçããæ©èœãæäŸããã¡ãã£ã¢ã衚瀺ããããã«Flashãªã©ã®ãµãŒãããŒãã£ã¢ããªã±ãŒã·ã§ã³ã䜿çšããå¿ èŠæ§ãæé€ããŸãïŒå°ãªããšããµããŒããããŠããã¡ãã£ã¢ãã¡ã€ã«ã®å ŽåïŒã
ãããªèŠçŽ ã«é¢ããOpera Developer Communityã®èšäºã«ä»å±ããŠãããã®ãããªã³ã³ãããŒã«ãã¢ãã芧ãã ãã ã
4. <canvas>èŠçŽ ã䜿çšãããšããã®å Žã§ç»åãå€æŽã§ããŸãã
ã»ãšãã©ã®äººã¯ãèŠèŠè¡šç€ºãéããŠæ å ±ãããéããããå¹ççã«èªèããŸãã ããšãã°ãããŒãã«ãçªå·ä»ãããŒã¿ãããã³åã°ã©ãã®éã§ããŠãŒã¶ãŒã«ãšã£ãŠã®ããŒã¿ã®æè¯ã®èªèã¯åã°ã©ãã§ãããããã«ãããŠãŒã¶ãŒã¯ããŒã¿ã®éã¿ãšæ¯çãããé©åã«è¡šãããšãã§ããŸãã
ç»åã®ãã€ãã¹ã¯ãéæ¢ããŠããããšã§ãã åŸæ¥ã®æ¹æ³ïŒPhotoshopãªã©ã®ç»åãšãã£ã¿ãŒãŸãã¯Excelãªã©ã®ã¢ããªã±ãŒã·ã§ã³ïŒã§åã°ã©ããäœæããå Žåãã°ã©ãã£ãã¯ãæåã§ç·šéããªããšããŒã¿ãå€æŽã§ããŸããã
<canvas>èŠçŽ ã䜿çšããŸãã ïŒããŒã¿ããŒã¹ããïŒå¯å€ããŒã¿ãååŸããã¹ã¯ãªãããä»ããŠãããåã°ã©ããŸãã¯ãã®ä»ã®2Dãã£ã¹ãã¬ã€ã«é©çšã§ããŸãã
ãŸãããã£ã³ãã¹APIã䜿çšãããšããŠãŒã¶ãŒã¯<canvas>èŠçŽ ãšå¯Ÿè©±ã§ããŸãã ããšãã°ããŠãŒã¶ãŒãåã°ã©ãã®äžéšãã¯ãªãã¯ããããšã«å¿çããã¹ã¯ãªãããäœæã§ããŸãã
5.ãŠãŒã¶ãŒã¯WebããŒãžã®ã»ã¯ã·ã§ã³ãç·šéããã³æäœã§ããŸã
HTML 5ã®ãŠãŒã¶ãŒã€ã³ã¿ã©ã¯ã·ã§ã³ã»ã¯ã·ã§ã³ã§ã¯ã ã€ã³ã¿ã©ã¯ãã£ããªWebããŒãžãäœæããæ°ããæ¹æ³ã«ã€ããŠèª¬æããŠããŸãã contenteditableå±æ§ïŒtrueãŸãã¯falseã®ããŒã«å±æ§ïŒã䜿çšãããšããŠãŒã¶ãŒãWebããŒãžã®ã©ã®éšåãå€æŽã§ããããããŒã¯ã§ããŸãã
ãã®ã¡ã«ããºã ã¯ããŠãŒã¶ãŒãã³ã³ãã³ããçæãããŠã£ãã¹ã¿ã€ã«ã®Webãµã€ãã«åœ¹ç«ã¡ãŸãã contenteditableå±æ§ã䜿çšããå¥ã®ãªãã·ã§ã³ã¯ãWebããŒãžãã³ãã¬ãŒããäœæããããšã§ãã ããã«ãããHTMLã«ç²ŸéããŠããªãWebãµã€ãã®ãŠãŒã¶ãŒã¯ãããæèœãªãŠãŒã¶ãŒãå ¥åããå¿ èŠãããããŒãžäžã®éèŠãªå Žæã«åœ±é¿ãäžããããšãªããã³ã³ãã³ããå®å šã«å ¥åãã䟿å©ãªæ©äŒãåŸãããšãã§ããŸãã
ããã¥ã¡ã³ãã¬ãã«ã§ã¯ããonããŸãã¯ãoffãã®2ã€ã®å€ãåãdesignModeå±æ§ã䜿çšããŠã³ã³ãã³ããç·šéã§ããããŒãžã®å±æ§ãæå®ã§ããŸãã
æåŸã«
ä»æ§ã¯2012幎ã«W3Cå§ååè£ã¹ããŒã¿ã¹ã«éããã¯ãã§ãããæ°ããHTML 5ã®äœ¿çšãéå§ããã®ã«ããã»ã©é·ãåŸ ããªããã°ãªããªããšããããã§ã¯ãããŸããã <canvas>èŠçŽ ïŒ ããŒãžã§ã³1.5以éãéšåçã«å®è£ ãããŠããMozilla Firefoxãå«ãïŒã
HTML 5ã¯ãWebéçºè ãã³ã³ãã³ãããŒã¯ã¢ãããäœæããæ¹æ³ãåå®çŸ©ããŸãã ãã®ããŒãžã§ã³ã§ã¯ãWebããŒãžã«è¡šç€ºãããã³ã³ãã³ãã®èšè¿°æ¹æ³ãæ¹åããããè€éãªã¿ã€ãã®ã³ã³ãã³ãã®äœ¿çšãå¯èœã«ããã¡ãã£ã¢ããã³Webã¢ããªã±ãŒã·ã§ã³ã®ãµããŒããæ¹åããHTMLããã¥ã¡ã³ãã®çžäºéçšæ§ãåäžããŸãã
ãããã®ãã®ã¯ãŸã éçºäžã§ãããå€æŽãããå¯èœæ§ãããããšã«çæããŠãã ããããããã®æ¹åã®å€ãã¯æ°å¹Žä»¥å ã«ã¬ãã¥ãŒããããããŸã£ããå®è£ ãããªãå¯èœæ§ããããŸãã
ãã®ä»ã®æ å ±æº
- W3C Webãµã€ãã§HTML 5ä»æ§ã®ææ°ã®ã¯ãŒãã³ã°ãã©ãããèªãããšãã§ããŸãã
- W3C Webãµã€ãã§HTML 4ãšHTML 5ã®äž»ãªéãã«ã€ããŠåŠãã§ãã ããã
- IBM developerWorksã«ã¯ã HTML 5ã®åºæ¬èŠçŽ ã«é¢ããåªãã詳现ãªèšäºããããŸã ã
- W3C HTMLã¯ãŒãã³ã°ã°ã«ãŒãã®Webãµã€ã㧠HTML 5ä»æ§ã®éçºã«æºãã£ãŠãã人ã ã«ã€ããŠèªãã§ãã ããã
- WHATWG wikiã§HTML 5ã®éçºãæ¯æŽããããã«ã§ããããšãã芧ãã ããã
èè ã«ã€ããŠ
Jacob Gubeã¯Webéçºè ããã¶ã€ããŒãããã³éçºãšãã¶ã€ã³ã®ããã°Six Revisionsã®èè ã§ãã 圌ã«é£çµ¡ãããå Žåã¯ããã€ãã¿ãŒã§èŠã€ããããšãã§ããŸãã