Monday, 1 October 2012

Week 02

In this week, more tags were used to write a page about my interests, being the most significant one, the <table> tag, along with the <th>, <tr> and <td>. In this page, the topic was "Table Tennis" or, as it is commonly called: "Ping-Pong".
I have described quite shortly some history and used the <table> tag to describe the ping-pong table dimensions, it seemed appropriate.

My code is the following:



<!doctype html>
<html>
<head>
 <title>Table Tennis</title>
 <meta charset="utf-8" />
</head>
<body>

<h1>Table tennis</h1>
<img src="TableTennis.jpg" alt="TableTennis" width="100" height="100"/>
<p>Table tennis originated in Britain around 1880's as a high-class game, played with books as net and as rackets and with a golf ball. As the years passed, this sport grew in popularity and in 1988 was considered an Olympic sport in the 1988 Olympics in South Korea.</p>
<p>The ball has to weight about 2.7 grams, and have the exact diameter of 40 mm to follow the  International Table Tennis Federation rules. It also has to bounce up between 24 to 26 cm when dropped on a steel block from a 30.5 cm height, meaning that its coefficient of restitution is about 0.89 to 0.92. The rackets do not have much restricted rules, as long as at least 85% of it is made of wood, and it has two different sides, each one coloured in red and black. This allows the opponent to know what type of hit is going to receive as they have the opportunity to inspect each others rackets before a match.</p>
<h2>Table information</h2>
<table>
 <tr>
  <th>Lenght</th>
  <th>Width</th>
  <th>Height</th>
  <th>Net Height</th>
 </tr>
 <tr>
  <td>2.74 m</td>
  <td>1.52 m</td>
  <td>0.76 m</td>
  <td>0.15 m</td>
 </tr>
</table>

<h2>References</h2>
<ul><li><a href="http://en.wikipedia.org/wiki/Table_tennis">Wikipedia</a></li></ul>
</Body>
</html>



Once again, this code is quite simple and the topic is not fully explored, but, all the tags were used once again and the code works properly in the 5 browsers given. Important to notice that the validator evaluated this code with 0 errors. A print screen is below:



No comments:

Post a Comment