Page 151 - iPrime_V2.2_class7
P. 151
She has written the given code:
<!DOCTYPE html>
<html>
<head>
<title>Harmful Effects of Plastics</title>
</head>
<body>
<h2>Select Harmful Effects of Plastics:</h2>
<form>
<input type="radio" name="effect1" value="Pollution">Pollution<br>
<input type="radio" name="effect2" value="Pleasant Weather">Pleasant
Weather<br>
<input type="radio" name="effect3" value="Endangering
Wildlife">Endangering Wildlife<br>
<input type="radio" name="effect3" value="Toxicity">Toxicity<br>
<input type="radio" name="effect3" value="Greenery">Greenery<br>
</form>
</body>
</html>
But her output is not same. Help her identify the mistake and recreate the code.
3. Rewa has created the following HTML file, but accidentally she deleted image.jpg file. Will the
given code execute or not? What will be the output?
<!DOCTYPE html>
<html> <head> <title>My Image</title> </head>
<body>
<img src="image.jpg" alt="Description of the image">
</body>
</html>
SDG Activity
Your society is organising an "Eco-Friendly Neighbourhood Scavenger
Hunt" for Independence Day. Collaborate with your team to identify
and photograph eco-friendly elements like recycling bins and green
spaces. Create a website showcasing these findings and propose steps
to enhance local sustainability.
More on HTML 149

