Professional Documents
Culture Documents
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>