question archive Create and test an HTML document that displays a table of football scores from a collegiate football conference in which the team names have one of the primary colors of their respective schools
Subject:Computer SciencePrice:2.87 Bought8
Create and test an HTML document that displays a table of football scores from a collegiate football conference in which the team names have one of the primary colors of their respective schools. The winning scores must appear larger and in a different font than the losing scores. The team names must be in a script font.
Answer:
<!DOCTYPE html>
<html>
<head>
<style>
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}
}
</style>
</head>
<body>
<table>
<tr>
<th>TEAM</th>
<th>GOALS</th>
</tr>
<tr>
<td style="color:Blue;">Barcelona</td>
<td>5</td>
</tr>
<tr>
<td style="color:Brown">Real Madrid</td>
<td>3</td>
</tr>
<tr>
<td style="color:Red;">Bayern munich</td>
<td>7</td>
</tr>
<tr>
<td style="color:green;">Dortmund</td>
<td>4</td>
</tr>
</table>
</body>
</html>
PFA