Please read the following table in HTML format from a webpage and then answer the question in detail according to the table. Each table cell is defined by a <td> and a </td> tag. Each table row starts with a <tr> and ends with a </tr> tag. 'rowspan=m' and 'colspan=n' represents a cell spaning over 'm' rows and 'n' columns.

Webpage title:
2018 Tour de France
Table title:
Route and stages
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > Stage </th><th colspan=1 rowspan=1 > Date </th><th colspan=1 rowspan=1 > Course </th><th colspan=1 rowspan=1 > Distance </th><th colspan=2 rowspan=1 > Stage type </th><th colspan=1 rowspan=1 > Winner </th></tr>
<tr> <th colspan=1 rowspan=1 > 1 </th><td colspan=1 rowspan=1 > 7 July </td><td colspan=1 rowspan=1 > Noirmoutier-en-l'Île to Fontenay-le-Comte </td><td colspan=1 rowspan=1 > 201 km (125 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Flat stage </td><td colspan=1 rowspan=1 > Fernando Gaviria (COL) </td></tr>
<tr> <th colspan=1 rowspan=1 > 2 </th><td colspan=1 rowspan=1 > 8 July </td><td colspan=1 rowspan=1 > Mouilleron-Saint-Germain to La Roche-sur-Yon </td><td colspan=1 rowspan=1 > 182.5 km (113 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Flat stage </td><td colspan=1 rowspan=1 > Peter Sagan (SVK) </td></tr>
<tr> <th colspan=1 rowspan=1 > 3 </th><td colspan=1 rowspan=1 > 9 July </td><td colspan=1 rowspan=1 > Cholet to Cholet </td><td colspan=1 rowspan=1 > 35.5 km (22 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Team time trial </td><td colspan=1 rowspan=1 > BMC Racing Team </td></tr>
<tr> <th colspan=1 rowspan=1 > 4 </th><td colspan=1 rowspan=1 > 10 July </td><td colspan=1 rowspan=1 > La Baule to Sarzeau </td><td colspan=1 rowspan=1 > 195 km (121 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Flat stage </td><td colspan=1 rowspan=1 > Fernando Gaviria (COL) </td></tr>
<tr> <th colspan=1 rowspan=1 > 5 </th><td colspan=1 rowspan=1 > 11 July </td><td colspan=1 rowspan=1 > Lorient to Quimper </td><td colspan=1 rowspan=1 > 204.5 km (127 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Hilly stage </td><td colspan=1 rowspan=1 > Peter Sagan (SVK) </td></tr>
<tr> <th colspan=1 rowspan=1 > 6 </th><td colspan=1 rowspan=1 > 12 July </td><td colspan=1 rowspan=1 > Brest to Mûr-de-Bretagne </td><td colspan=1 rowspan=1 > 181 km (112 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Hilly stage </td><td colspan=1 rowspan=1 > Dan Martin (IRL) </td></tr>
<tr> <th class="highlighted"  colspan=1 rowspan=1 > 7 </th><td colspan=1 rowspan=1 > 13 July </td><td colspan=1 rowspan=1 > Fougères to Chartres </td><td class="highlighted"  colspan=1 rowspan=1 > 231 km (144 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Flat stage </td><td colspan=1 rowspan=1 > Dylan Groenewegen (NED) </td></tr>
<tr> <th colspan=1 rowspan=1 > 8 </th><td colspan=1 rowspan=1 > 14 July </td><td colspan=1 rowspan=1 > Dreux to Amiens </td><td colspan=1 rowspan=1 > 181 km (112 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Flat stage </td><td colspan=1 rowspan=1 > Dylan Groenewegen (NED) </td></tr>
<tr> <th colspan=1 rowspan=1 > 9 </th><td colspan=1 rowspan=1 > 15 July </td><td colspan=1 rowspan=1 > Arras to Roubaix </td><td colspan=1 rowspan=1 > 156.5 km (97 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Hilly stage </td><td colspan=1 rowspan=1 > John Degenkolb (GER) </td></tr>
<tr> <th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > 16 July </td><td colspan=2 rowspan=1 > Annecy </td><td colspan=1 rowspan=1 >  </td><td colspan=4 rowspan=1 > Rest day </td></tr>
<tr> <th colspan=1 rowspan=1 > 10 </th><td colspan=1 rowspan=1 > 17 July </td><td colspan=1 rowspan=1 > Annecy to Le Grand-Bornand </td><td colspan=1 rowspan=1 > 158.5 km (98 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Mountain stage </td><td colspan=1 rowspan=1 > Julian Alaphilippe (FRA) </td></tr>
<tr> <th colspan=1 rowspan=1 > 11 </th><td colspan=1 rowspan=1 > 18 July </td><td colspan=1 rowspan=1 > Albertville to La Rosière </td><td colspan=1 rowspan=1 > 108.5 km (67 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Mountain stage </td><td colspan=1 rowspan=1 > Geraint Thomas (GBR) </td></tr>
<tr> <th colspan=1 rowspan=1 > 12 </th><td colspan=1 rowspan=1 > 19 July </td><td colspan=1 rowspan=1 > Bourg-Saint-Maurice to Alpe d'Huez </td><td colspan=1 rowspan=1 > 175.5 km (109 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Mountain stage </td><td colspan=1 rowspan=1 > Geraint Thomas (GBR) </td></tr>
<tr> <th colspan=1 rowspan=1 > 13 </th><td colspan=1 rowspan=1 > 20 July </td><td colspan=1 rowspan=1 > Le Bourg-d'Oisans to Valence </td><td colspan=1 rowspan=1 > 169.5 km (105 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Flat stage </td><td colspan=1 rowspan=1 > Peter Sagan (SVK) </td></tr>
<tr> <th colspan=1 rowspan=1 > 14 </th><td colspan=1 rowspan=1 > 21 July </td><td colspan=1 rowspan=1 > Saint-Paul-Trois-Châteaux to Mende </td><td colspan=1 rowspan=1 > 188 km (117 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Hilly stage </td><td colspan=1 rowspan=1 > Omar Fraile (ESP) </td></tr>
<tr> <th colspan=1 rowspan=1 > 15 </th><td colspan=1 rowspan=1 > 22 July </td><td colspan=1 rowspan=1 > Millau to Carcassonne </td><td colspan=1 rowspan=1 > 181.5 km (113 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Hilly stage </td><td colspan=1 rowspan=1 > Magnus Cort Nielsen (DNK) </td></tr>
<tr> <th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > 23 July </td><td colspan=2 rowspan=1 > Carcassonne </td><td colspan=1 rowspan=1 >  </td><td colspan=4 rowspan=1 > Rest day </td></tr>
<tr> <th colspan=1 rowspan=1 > 16 </th><td colspan=1 rowspan=1 > 24 July </td><td colspan=1 rowspan=1 > Carcassonne to Bagnères-de-Luchon </td><td colspan=1 rowspan=1 > 218 km (135 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Mountain </td><td colspan=1 rowspan=1 > Julian Alaphilippe (FRA) </td></tr>
<tr> <th class="highlighted"  colspan=1 rowspan=1 > 17 </th><td colspan=1 rowspan=1 > 25 July </td><td colspan=1 rowspan=1 > Bagnères-de-Luchon to Saint-Lary-Soulan (Col de Portet) </td><td class="highlighted"  colspan=1 rowspan=1 > 65 km (40 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Mountain stage </td><td colspan=1 rowspan=1 > Nairo Quintana (COL) </td></tr>
<tr> <th colspan=1 rowspan=1 > 18 </th><td colspan=1 rowspan=1 > 26 July </td><td colspan=1 rowspan=1 > Trie-sur-Baïse to Pau </td><td colspan=1 rowspan=1 > 171 km (106 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Flat </td><td colspan=1 rowspan=1 > Arnaud Démare (FRA) </td></tr>
<tr> <th colspan=1 rowspan=1 > 19 </th><td colspan=1 rowspan=1 > 27 July </td><td colspan=1 rowspan=1 > Lourdes to Laruns </td><td colspan=1 rowspan=1 > 200.5 km (125 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Mountain stage </td><td colspan=1 rowspan=1 > Primož Roglič (SLO) </td></tr>
<tr> <th colspan=1 rowspan=1 > 20 </th><td colspan=1 rowspan=1 > 28 July </td><td colspan=1 rowspan=1 > Saint-Pée-sur-Nivelle to Espelette </td><td colspan=1 rowspan=1 > 31 km (19 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Individual time trial </td><td colspan=1 rowspan=1 > Tom Dumoulin (NED) </td></tr>
<tr> <th colspan=1 rowspan=1 > 21 </th><td colspan=1 rowspan=1 > 29 July </td><td colspan=1 rowspan=1 > Houilles to Paris (Champs-Élysées) </td><td colspan=1 rowspan=1 > 116 km (72 mi) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Flat stage </td><td colspan=1 rowspan=1 > Alexander Kristoff (NOR) </td></tr>
<tr> <th colspan=1 rowspan=1 >  </th><td colspan=2 rowspan=1 > Total </td><td colspan=4 rowspan=1 > 3,351 km (2,082 mi) </td></tr>
</table>
Question:
What stage was longest for the Tour de France?
Answer:
The longest stage of the 2018 Tour de France was stage seven, at 231 km (144 mi), and the shortest was stage seventeen, at 65 km (40 mi).