Tuesday, September 21, 2021

Web page development Questions and Answers 2

Learn Web Development By Examples

Web Development Questions and Answers

A HTML document of the file "circket.html" which generates the above web page. Write HTML with the appropriate tags to render the above web page.
Consider the following when you write HTML.

  1. When the user clicks on the phrase "Sri lankan national cricket team", it should display the document named "team.html".
  2. Name of the source file of the image displayed on the above webpage is "cricket.jpg".
  3. The link to the image "cricket.jpg" should have an alternative description "cricket".


Answers

 
<html>
<head>
<title>Test Cricket</title>
</head>
<body>
<h2>Sri Lankan Test cricket records</h1>
<hr/>
<p>The<a href="team.html">
Sri Lankan national cricket team </a>
played their first Test match on 17 February 1982 against England.
</p>
<p><b>Record Groups</b></p>
<ul>
<li> Team records</li>
<li>Individual records</li>
<li>Partnership records</li>
</ul>
<h2>Partnersbip records</h2>
<p><img src="cricket.jpg" alt="crickekt"> <br/>Sri Lanka holds the most
number of partnership records in Test cricket,
with the records for the second, third, fourth, and sixth wickets.
South Africa and Pakistan are ranked second with two records each.
</p>
<table border="1">
<caption>Highest wicket partnerships</caption>
<tr>
<th>Runs</th>
<th>Wicket</th>
<th colspan = "2">Partners</th>
</tr>
<tr>
<td>335</td>
<td>1st wicket </td>
<td>Marvan Atapattu</td>
<td>Sanath Jayasuriya</td>
</tr>
<tr>
<td>576</td>
<td>2nd wicket</td>
<td>Sanath Jayasuriya</td>
<td>Roshan Mahanama</td>
</tr>
</table>
</body>
</html>



No comments:

Post a Comment