Sorry, english is not my former language. Is there a way to use td and il on the style form? I wish I could use td#cod {
style="list-style-type:square"; to make every table data named "cod" listed. Is that possible? Merci.
Here the code :
<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
th, td {
padding: 5px;
}
th, {
text-align: center;
}
td#cod {
style="list-style-type:square";
}
</style>
</head>
<body style="background-color:lightgrey">
<table style="width:100%">
<caption style="font-size:200%">Licences populaires</caption>
<tbody><tr>
<th>Call of Duty</th>
<th>Grand Theft Auto</th>
<th>Assassin's Creed</th>
</tr>
<tr>
<td id="cod"><li>Modern Warfare</li></td>
<td><li>Vice City</li></td>
<td><li>Revelation</li></td>
</tr>
<tr>
<td id="cod"><li>World at War</li></td>
<td><li>San Andreas</li></td>
<td><li>Black Flag</li></td>
</tr>
<tr>
<td id="cod"><li>Black Ops</li></td>
<td><li>Liverty City</li></td>
<td><li>Unity</li></td>
</tr>
<tr>
<td id="cod"><li>Advanced Warfare</li></td>
<td><li>V</li></td>
<td><li>Syndicate</li></td>
</tr>
</tbody></table>
</body></html>
exercice_11.html