Lab Assignment-7: Chapter 7: Web Applications
Lab Assignment-7: Chapter 7: Web Applications
Lab Assignment-7: Chapter 7: Web Applications
a)
b)
CODE:
<html>
<body>
<table cellspacing=10 cellpadding=10 border=1>
<tr>
<th colspan=2><font face="arial" color="red">Fresh Fruits</font></th>
</tr>
<tr>
<td lang="hi"><font size=5>Fresh Fuits help us stay healthy and fit.<br>
फल सेहत के ललए लाभदायक है | </font></td>
<td><img
src="http://www.5280gourmet.com/media/catalog/product/cache/2/image
/500x600/c7b1013587e3950a5d7e32f0dd8b8398/f/i/file_42_66.jpg"
width=200 height=200></td>
</tr>
</table>
</body>
</html>
RUN VIEW:
d)
CODE:
<html>
<body>
<ol start=1>
<li>India
<ol start=1 type=a>
<li>Haryana
<ul type=square>
<li>Gurgaon <li>Faridabad
</ul>
<li>J&K
<ul type=square>
<li>Jammu <li>Srinagar
</ul>
</ol>
</ol>
</body>
</html
RUN VIEW:
2. Write the HTML code to generate the following result:
a)
CODE:
<html>
<body>
<p>ONE 1 2 3</p>
</body>
</html>
RUN VIEW:
b)
CODE:
<html>
<body>
<p>TWO<br>
</ol></p>
</body>
</html>
RUN VIEW:
c)
CODE:
<html>
<body>
<ol start=1>
<li>share <li>play fair <li>don't hit people <li>put things back where we
found them <li>say sorry when we hurt somebody
</ol>
</p>
</body>
</html>
RUN VIEW:
d)
CODE:
<html>
<body>
<ol start=1>
</ul>
</ul>
</ul>
<ul type=disc>
</ul>
</ol>
</body>
</html>
RUN VIEW:
b) <html>
<head>
<title>SCHEDULE</title>
</head>
<body>
<table border=3>
<caption>Volunteer Schedule</caption>
<tr bgcolor="#aaffcc">
</tr>
<tr>
</tr>
<tr>
<tr>
</tr>
</table>
</body>
</html>
OUTPUT: