<!DOCTYPE html> <html lang="ja"> <head> <title>マップ: My First Map!</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="https://www.yatex.org/gitbucket/natto/leaflet/raw/master/leaflet.css" /> <!-- (1) --> <script src="https://www.yatex.org/gitbucket/natto/leaflet/raw/master/leaflet.js"></script> <script src="https://www.yatex.org/gitbucket/natto/leaflet/raw/master/arrow/leaflet.polylineDecorator.js"></script> <script src="https://www.yatex.org/gitbucket/natto/leaflet/raw/master/omnivore/leaflet-omnivore.min.js"></script> <style type="text/css"> <!-- div#mymap {width: 90vw; height: 80vh; margin: 0 auto;} /* (2) */ --> </style> </head> <body> <h1>My First Map!</h1> <div id="mymap"></div> <!-- (3) --> <!-- #mymap であるdivを配置したあとで (4) --> <h1 id="unko"></h1> <script type="text/javascript" src="domon.js" charset="utf-8"></script> </body> </html>