Friday 17 June 2016

Task 37

Here is a table I made of the top 5 films in 2012 as listed on IMDB and the star ratings of them.



1) The Dark Knight Rises (8.5/10)



2) The Hobbit: An Unexpected Journey (7.9/10)



3) The Avengers (8.1/10)



4) Brave (7.2/10)




5) The Amazing Spider-Man (7.0/10)





The HTML code for the graph:

<!DOCTYPE html>
<html>
<body>
<style>
table, th, td {
     border: 1px solid black;
     border-spacing: 2px;
     background-color: lightblue;
}
</style>

<table style="width:60%">
   <tr>
    <td></td>
    <td><b>Movies</b></td>
    <td><b>Stars</b></td>
  </tr>
 <tr>
    <td>1</td>
    <td>The Dark Knight Rises</td>
    <td>8.5/10</td>
  </tr>
  <tr>
    <td>2</td>
    <td>The Hobbit: An Unexpected Journey</td>
    <td>7.9/10</td>
  </tr>
  <tr>
    <td>3</td>
    <td>The Avengers</td>
    <td>8.1/10</td>
  </tr>
  <tr>
    <td>4</td>
    <td>Brave</td>
    <td>7.2/10</td>
  </tr>
  <tr>
    <td>5</td>
    <td>The Amazing Spider-Man</td>
    <td>7/10</td>
  </tr>
</table>

</body>
</html>

No comments:

Post a Comment