Page 151 - TP_iPlus_V2.1_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>
#Experiential Learning
Let’s Explore
Search the internet to find more information about dynamic web pages.
#Ethical & Moral Reasoning
#Communication
Life Skills and Values
Discuss how learning HTML can foster problem-solving skills. Why is it important to develop
these skills?
149
More on HTML

