<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>File API</title>
  <style>
    #formbox, #databox {
      float: left;
      width: 400px;
      padding: 20px;
      margin: 5px;
      border: 1px solid #999999;
    }
  </style>
  <script src="file.js"></script>
</head>
<body>
  <section id="formbox">
    <form name="form">
      <label for="myfiles">File: </label>
      <input type="file" name="myfiles" id="myfiles">
    </form>
  </section>
  <section id="databox">
    <p>No File Selected</p>
  </section>
</body>
</html>