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–19 Scottish Premiership
Table title:
Stadia and locations
Table:
<table id='hittask' contenteditable='False'>
<tr> <th class="highlighted"  colspan=1 rowspan=1 > Aberdeen </th><th class="highlighted"  colspan=1 rowspan=1 > Celtic </th><th class="highlighted"  colspan=1 rowspan=1 > Dundee </th><th class="highlighted"  colspan=1 rowspan=1 > Hamilton Academical </th></tr>
<tr> <td colspan=1 rowspan=1 > Pittodrie Stadium </td><td colspan=1 rowspan=1 > Celtic Park </td><td colspan=1 rowspan=1 > Dens Park </td><td colspan=1 rowspan=1 > New Douglas Park </td></tr>
<tr> <td colspan=1 rowspan=1 > Capacity: 20,866 </td><td colspan=1 rowspan=1 > Capacity: 60,411 </td><td colspan=1 rowspan=1 > Capacity: 11,506 </td><td colspan=1 rowspan=1 > Capacity: 6,018 </td></tr>
<tr> <td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > - </td></tr>
<tr> <th class="highlighted"  colspan=1 rowspan=1 > Heart of Midlothian </th><th colspan=2 rowspan=8 > 2018–19 Scottish Premiership is located in Scotland Central BeltAberdeenDundeeHeartsHibernianKilmarnockLivingstonRangersSt JohnstoneSt MirrenCelticHamiltonMotherwell Location of teams in 2018–19 Premiership </th><th class="highlighted"  colspan=1 rowspan=1 > Hibernian </th></tr>
<tr> <td colspan=1 rowspan=1 > Tynecastle Park </td><td colspan=1 rowspan=1 > Easter Road </td></tr>
<tr> <td colspan=1 rowspan=1 > Capacity: 20,099 </td><td colspan=1 rowspan=1 > Capacity: 20,421 </td></tr>
<tr> <td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > Easter Road 2010.JPG </td></tr>
<tr> <th class="highlighted"  colspan=1 rowspan=1 > Kilmarnock </th><th class="highlighted"  colspan=1 rowspan=1 > Livingston </th></tr>
<tr> <td colspan=1 rowspan=1 > Rugby Park </td><td colspan=1 rowspan=1 > Almondvale Stadium </td></tr>
<tr> <td colspan=1 rowspan=1 > Capacity: 17,889 </td><td colspan=1 rowspan=1 > Capacity: 9,512 </td></tr>
<tr> <td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > - </td></tr>
<tr> <th class="highlighted"  colspan=1 rowspan=1 > Motherwell </th><th class="highlighted"  colspan=1 rowspan=1 > Rangers </th><th class="highlighted"  colspan=1 rowspan=1 > St Johnstone </th><th class="highlighted"  colspan=1 rowspan=1 > St Mirren </th></tr>
<tr> <td colspan=1 rowspan=1 > Fir Park </td><td colspan=1 rowspan=1 > Ibrox Stadium </td><td colspan=1 rowspan=1 > McDiarmid Park </td><td colspan=1 rowspan=1 > St Mirren Park </td></tr>
<tr> <td colspan=1 rowspan=1 > Capacity: 13,677 </td><td colspan=1 rowspan=1 > Capacity: 50,817 </td><td colspan=1 rowspan=1 > Capacity: 10,696 </td><td colspan=1 rowspan=1 > Capacity: 7,937 </td></tr>
<tr> <td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > - </td></tr>
</table>
Question:
What teams contested the 2018–19 Scottish Premiership?
Answer:
Twelve teams contest the league: Aberdeen, Celtic, Dundee, Hamilton Academical, Heart of Midlothian, Hibernian, Kilmarnock, Livingston, Motherwell, Rangers, St Johnstone and St Mirren.