Computer Science, asked by amaysingh1234, 6 hours ago

Create a Webpage in HTML on Pollution of Water and Air. Set the background colour of web page to Green and Top margin to 70. Create 2 columns in the table named as City and Pollution Level. The caption of the Table should be Pollution. Apply heading style 1 to it. Create 3 rows in the table and enter records. Set the background colour and border colour of the heading row to 'red' and 'yellow; respectively. Set Cell Padding of the table to 6. Insert one image about Kyoto Protocol.

Answers

Answered by majirouvik
4

Answer:

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="utf-8">

<title>Pollution of water and Air</title>

</head>

<body bgcolor="Green" topmargin="70">

<table padding="6" border="1">

<caption><h1>Pollution</h1></caption>

<tr>

<td bordercolor="red" bgcolor="red">City</td>

<td bordercolor="yellow" bgcolor="yellow">Pollution Level</td>

</tr>

<tr>

<td>Delhi</td>

<td>698</td>

</tr>

<tr>

<td>Mumbai</td>

<td>93</td>

</tr>

<tr>

<td>Kolkata</td>

<td>56</td>

</tr>

<tr>

<img src="./kyotoProtocol.png" alt="Kyoto Protocol">

</tr>

</table>

</body>

</html>

NOTE:

• Image source is gibberish and is not required in exam so I have not provided it

• You can ignore the meta tag and Lang attribute in html tag

Similar questions