Advertisement Remove all ads

Write Html Code for the Following Output : Cricket Analysis - Computer Science 1

Answer in Brief

Write HTML code for the following output :

                           Cricket Analysis

Country Played Won Lose
INDIA 30 27 03
PAKISTAN 30 03 27
Advertisement Remove all ads

Solution

<!DOCTYPE html>
<html>
<head>
</head>
<body>
  <h1>Cricket Analysis</h1>
  <table>
    <thead>
      <tr>
        <th>Country</th>
        <th>Played</th>
        <th>Won</th>
        <th>Lose</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>INDIA</td>
        <td>30</td>
        <td>27</td>
        <td>03</td>
      </tr>
      <tr>
        <td>PAKISTAN</td>
        <td>30</td>
        <td>03</td>
        <td>27</td>
      </tr>
    </tbody>
  </table>
</body>
</html>
Concept: Hyper Text Markup Language (HTML)
  Is there an error in this question or solution?
Advertisement Remove all ads

APPEARS IN

Advertisement Remove all ads
Advertisement Remove all ads
Share
Notifications

View all notifications


      Forgot password?
View in app×