{"id":1802,"date":"2018-04-29T22:06:49","date_gmt":"2018-04-29T13:06:49","guid":{"rendered":"http:\/\/www.code-magagine.com\/?p=1802"},"modified":"2023-05-27T21:05:15","modified_gmt":"2023-05-27T12:05:15","slug":"%e3%80%90html5%e3%80%91%e3%83%a1%e3%83%aa%e3%83%83%e3%83%88%e7%ad%89","status":"publish","type":"post","link":"http:\/\/www.code-magagine.com\/?p=1802","title":{"rendered":"\u3010HTML\u3011HTML5\u306e\u5f71\u97ff\uff08JavaScript\u3084\u8ffd\u52a0\u30bf\u30b0\u306a\u3069\uff09"},"content":{"rendered":"<h2>HTML5\u304c\u3001JavaScript\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u305f\u3002<\/h2>\n<p>2000\u5e74\u4ee3\u5f8c\u534a\u306b\u767b\u5834\u3057\u305fHTML5\u306f\u3001\u30de\u30fc\u30af\u30a2\u30c3\u30d7\u306e\u898b\u76f4\u3057\u306b\u52a0\u3048\u3066\u3001\u30a2\u30d7\u30ea\u958b\u767a\u306e\u305f\u3081\u306eJavaScript API\u304c\u5927\u5e45\u306b\u5f37\u5316\u3055\u308c\u3066\u3001\u3067\u304d\u308b\u3053\u3068\u3082\u98db\u8e8d\u7684\u306b\u5897\u3048\u307e\u3057\u305f\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u4e0b\u8a18\u3067\u3059\u3002<\/p>\n<ul>\n<li>Web\u30ab\u30e1\u30e9\u3092\u5236\u5fa1\u3057\u3066\u5199\u771f\u3092\u64ae\u308b\u3002<\/li>\n<li>\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u3092\u4f7f\u3063\u3066\u3001\u30c7\u30d0\u30a4\u30b9\u306e\u50be\u304d\u3092\u691c\u77e5\u3059\u308b\u3002<\/li>\n<li>\u30aa\u30d5\u30e9\u30a4\u30f3\u3067\u3082\u52d5\u4f5c\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30ad\u30e3\u30c3\u30b7\u30e5\u3055\u305b\u308b\u3002<\/li>\n<\/ul>\n<h3>HTML5\u3067\u8ffd\u52a0\u3055\u308c\u305f\u4e3b\u306aAPI<\/h3>\n<table>\n<tbody>\n<tr>\n<th width=\"120\">API<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>Geolocation API<\/td>\n<td>\u30e6\u30fc\u30b6\u30fc\u306e\u5730\u7406\u7684\u540d\u4f4d\u7f6e\u3092\u53d6\u5f97<\/td>\n<\/tr>\n<tr>\n<td>Canvas<\/td>\n<td>JavaScript\u304b\u3089\u52d5\u7684\u306b\u753b\u50cf\u3092\u63cf\u753b\u3059\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>File API<\/td>\n<td>\u30ed\u30fc\u30ab\u30eb\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u8aad\u307f\u66f8\u304d\u3059\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>Web Storage<\/td>\n<td>\u30ed\u30fc\u30ab\u30eb\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u3059\u308b\u305f\u3081\u306e\u30b9\u30c8\u30ec\u30fc\u30b8<\/td>\n<\/tr>\n<tr>\n<td>Indexed Database<\/td>\n<td>\u30ad\u30fc\/\u5024\u306e\u30bb\u30c3\u30c8\u3067\u3001JavaScript\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u7ba1\u7406\u3059\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>Web Workers<\/td>\n<td>JavaScript\u3092\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u4e26\u5217\u5b9f\u884c\u3059\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>Web Sockets<\/td>\n<td>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8-\u30b5\u30fc\u30d0\u30fc\u9593\u306e\u53cc\u65b9\u5411\u901a\u4fe1\u3092\u884c\u3046\u305f\u3081\u306eAPI<\/td>\n<\/tr>\n<tr>\n<td>History API<\/td>\n<td><span style=\"color: #ff0000;\"><strong>\u7279\u306b\u91cd\u8981\u306aAPI\u3067\u3059\u3002\u3053\u306eAPI\u306b\u3088\u308a\u30da\u30fc\u30b8\u9077\u79fb\u3092Web\u30d6\u30e9\u30a6\u30b6\u5074\u3067\u306f\u306a\u304f\u3001JavaScript\u3067\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u753b\u9762\u9077\u79fb\u306a\u3057\u306bURL\u3084\u5c65\u6b74\u306f\u7ba1\u7406\u3057\u3064\u3064\u5207\u308a\u66ff\u3048\u308bSPA\u306e\u69cb\u7bc9\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/strong><\/span><\/p>\n<p>SPA\u306b\u304a\u3044\u3066\u3001\u623b\u308b\u30dc\u30bf\u30f3\u3092\u6a5f\u80fd\u3055\u305b\u308b\u305f\u3081\u306b\u4f7f\u3046\uff21\uff30\uff29<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>SPA\uff08\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u30fb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\uff09\u306e\u5e83\u304c\u308a\u306b\u8ca2\u732e\u3057\u305f\u3002<\/h2>\n<h3>SPA\u3068\u306f\uff1f<\/h3>\n<p>\u30da\u30fc\u30b8\u9077\u79fb\u304c\u767a\u751f\u3057\u306a\u3044\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u521d\u56de\u30a2\u30af\u30bb\u30b9\u3067\u3001\u30da\u30fc\u30b8\u5168\u4f53\u3092\u53d6\u5f97\u3057\u3066\u3001\u4ee5\u964d\u306e\u30da\u30fc\u30b8\u66f4\u65b0\u306f\u57fa\u672cAjax\uff08\u975e\u540c\u671f\u901a\u4fe1\uff09\u3067\u66f4\u65b0\u3057\u307e\u3059\u3002<\/p>\n<p>2004\u5e74\u9803\u306bgmail\u304c\u3053\u306e\u4f5c\u308a\u306b\u306a\u3063\u3066\u3044\u3066\u8a71\u984c\u306b\u306a\u308a\u307e\u3057\u305f\u304c\u3001<span style=\"color: #ff0000;\"><strong>HTML5\u3068\u3001JavaScript\u304c\u305d\u308c\u306b\u975e\u5e38\u306b\u8ca2\u732e\u3057\u307e\u3057\u305f\u3002<\/strong><\/span><\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30a2\u30d7\u30ea\u306b\u3001\u826f\u304f\u4f3c\u305f\u64cd\u4f5c\u6027<\/strong><\/span>\u3067\u3001\u4fca\u654f\u306a\u52d5\u4f5c\u3092\u5b9f\u73fe\u3059\u308b\u30a2\u30d7\u30ed\u30fc\u30c1\u3068\u3057\u3066\u6628\u4eca\u6ce8\u76ee\u3092\u96c6\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u8ffd\u52a0\u3055\u308c\u305f\u30bf\u30b0<\/h2>\n<h3>\u533a\u753b\u3001\u30bb\u30de\u30f3\u30c6\u30af\u30b9\u7cfb\u30bf\u30b0<\/h3>\n<p>HTML4\u306e\u6642\u4ee3\u306f\u307b\u3068\u3093\u3069div\u3067\u533a\u753b\u3092\u8868\u3059\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f(id=\"header\"\u306a\u3069\u3092\u3064\u3051\u3066\u533a\u753b\u3092\u5224\u5225\u3059\u308b\u3002)\u304c\u3001HTML5\u306e\u6642\u4ee3\u304b\u3089\u306f\u5c02\u7528\u306e\u30bf\u30b0\u3092\u4f7f\u3046\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h4>\u30a4\u30e1\u30fc\u30b8\u56f3<\/h4>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-16735\" src=\"http:\/\/www.code-magagine.com\/wp-content\/uploads\/2022\/02\/-2022-02-19-9.01.59-e1645229024624.png\" alt=\"\" width=\"400\" height=\"444\" \/><\/p>\n<h4>HTML5\u3067\u8ffd\u52a0\u3055\u308c\u305f\u30bf\u30b0<\/h4>\n<h5>header<\/h5>\n<p>\u30d8\u30c3\u30c0\u30fc<\/p>\n<h5>nav<\/h5>\n<p>\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u3001\u3088\u304f\u4f7f\u308f\u308c\u308b\u306e\u306fheader\u30bf\u30b0\u306e\u4e2d\u306b\u914d\u7f6e\u3059\u308b\u30b0\u30ed\u30fc\u30d0\u30eb\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002\u3053\u306e\u4e2d\u306bul li\u30bf\u30b0\u3092\u914d\u7f6e\u3057\u3066\u5b9f\u88c5\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002<\/p>\n<h5>main<\/h5>\n<p>\u30e1\u30a4\u30f3\u30b3\u30f3\u30c6\u30f3\u30c4<\/p>\n<h5>section<\/h5>\n<p>1\u30b3\u30f3\u30c6\u30f3\u30c4\u3054\u3068\u306e\u533a\u5207\u308a<\/p>\n<h5>article<\/h5>\n<p>\u72ec\u7acb\u3057\u305f\u30b3\u30f3\u30c6\u30f3\u30c4\u3002\u30d6\u30ed\u30b0\u306e1\u8a18\u4e8b\u306a\u3069\u3002<\/p>\n<h5>aside<\/h5>\n<p>\u88dc\u8db3\u7684\u306a\u30b3\u30f3\u30c6\u30f3\u30c4<\/p>\n<h5>footer<\/h5>\n<p>\u30d5\u30c3\u30bf\u30fc<\/p>\n<h3>video\u30bf\u30b0<\/h3>\n<h4>autoPlay\uff08\u81ea\u52d5\u518d\u751f\uff09<\/h4>\n<p>\u81ea\u52d5\u518d\u751f\u3059\u308b\u5c5e\u6027\u3067\u3059\u3002\u3053\u308c\u3092\u4ed8\u3051\u306a\u3044\u3068\u52d5\u753b\u306a\u3069\u3092\u81ea\u52d5\u518d\u751f\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<div>\n<h4>muted\uff08\u6d88\u97f3\uff09<\/h4>\n<div>\u30df\u30e5\u30fc\u30c8\u306b\u3067\u304d\u308b\u5c5e\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/div>\n<h5>\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9<\/h5>\n<div><span style=\"color: #ff0000;\"><strong>\u81ea\u5206\u3067\u558b\u3063\u3066\u3044\u308b\u58f0\u306f\u305d\u306e\u5834\u3067\u81ea\u5206\u3067\u805e\u3053\u3048\u308b\u306e\u3067\u3001\u30de\u30a4\u30af\u304b\u3089\u805e\u3053\u3048\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\uff08\u81ea\u5206\u306e\u58f0\u304c\u805e\u3053\u3048\u308b\u306a\u3069\u3001\u30a8\u30b3\u30fc\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002\uff09<\/strong><\/span>\u306a\u306e\u3067\u3001\u81ea\u5206\u306e\u6620\u50cf\u3092video\u30bf\u30b0\u3067\u51fa\u529b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u30b1\u30fc\u30b9\u306e\u5834\u5408\u306f\u3001\u3053\u306e\u5c5e\u6027\u3092true\u306b\u3059\u308b\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002\u3053\u308c\u3067\u30a8\u30b3\u30fc\u3059\u308b\u554f\u984c\u3082\u89e3\u6d88\u3055\u308c\u307e\u3059\u3002<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"HTML5\u304c\u3001JavaScript\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u305f\u3002 2000\u5e74\u4ee3\u5f8c\u534a\u306b\u767b\u5834\u3057\u305fHTML5\u306f\u3001\u30de\u30fc\u30af\u30a2\u30c3\u30d7\u306e\u898b\u76f4\u3057\u306b\u52a0\u3048\u3066\u3001\u30a2\u30d7\u30ea\u958b\u767a\u306e\u305f\u3081\u306eJavaScript API\u304c\u5927\u5e45\u306b\u5f37\u5316\u3055\u308c\u3066\u3001\u3067\u304d\u308b\u3053\u3068\u3082\u98db\u8e8d\u7684\u306b\u5897\u3048\u307e\u3057\u305f\u3002 [&hellip;]","protected":false},"author":1,"featured_media":2016,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[],"_links":{"self":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/1802"}],"collection":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1802"}],"version-history":[{"count":12,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/1802\/revisions"}],"predecessor-version":[{"id":20313,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/1802\/revisions\/20313"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/media\/2016"}],"wp:attachment":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1802"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}