You are on page 1of 2

COMPUTER SCIENCE/ GRADE 7 / REVIEW2 THEORY - WS / DECEMBER – 2023

TIME ALLOWED: 20 MINS MAXIMUM MARKS: 10


Name: ___________________________ Section: ________ Roll No: ___________
General Instructions:
Read the given questions carefully and write the correct
answers in the space given below the questions
All the questions are compulsory
All programming questions are to be answered in HTML
Language only.

Q1. Using an HTML program write the code with appropriate tags and attributes to
display the output as shown below for the following questions.

________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
_______________________________________________________________________
Q2. Debug the errors in the following code and rewrite the correct code
referring to the below output screen.

<!Doctype html>
<html>
<head>
<title> Images</title>
</head>
<body >
<img src="sun.jpg" alt="sunflower"
width="50px" height="5%" style="display:block; margin-
left:auto;margin-right:auto;border:5px solid">
<img src="flower.docx"
style="width:400px;height:400px">
<a href="s.html">Click here to open more
details</a>
</body>
</html>

You might also like