B.SC HTML Programs
B.SC HTML Programs
--wRITE A HTML PROGRAM USING BASIC TEXT FORMATTING TAGS <hn>,<p>,<br>,<pre> -->
<html>
<body>
<br> C, C++,JAVA</p>
<pre>
PRE TAG IS USED TO DISPLAY THE TEXT IN FIXED WIDTH FONT AND IT
</pre>
</body>
</html>
<!--WRITE HTML PAGE FOR EXAMPLE CAFE USING ABOVE TEXT FORMATTING TAGS-->
<html>
<body>
<h1>IRANI CAFE</h1>
<h3>SECUNDERABAD</h3>
<h4>S.P ROAD</h4>
<pre>
IN HYDERABAD
</pre>
</body>
</html>
<!--WRITE A HTML PROGRAM USING PRESENTATIONAL ELEMENT TAGS <b>,<i>
<strike>,<sup>,<sub>,<big>,<small>,<hr>-->
<html>
<body>
<p>
<b> I AM ..........</b>
<strike>STUDYING IN </strike>
</p>
<p>
H<sub>2</sub><b>O</b>
</p>
<hr>
<p>
</p>
<p>
</p>
</body>
</html>
<!-- WRITE HTML PROGRAM USING DIFFERENT TAGS-->
<html>
<body>
<h1>ORDERED LISTS<h1>
<ol>
</ol>
<ul>
</ul>
<dl>
<dd> Ordered lists display the text carrying large roman numbers, small roman numbers, capital letters
etc.</dd>
<dd> Unorderd list display certain text on the console , with each independent sentence being intilised
with a bullet mark</dd>
<dl>
</body>
</html>
<!--WRITE A HTML PAGE THAT DISPLAY IGREDIENTS AND INSTRUCTIONS TO PREPARE A RECIPE-->
<html>
<head>
</head>
<body>
<ul>
<li>2 onion</li>
<li>salt as required</li>
</ul>
<h2> INSTRUCTIONS: </h2>
<ol>
<li>Firstly, wash the chicken under running water and keep it aside. Now,
take a non-stick pan and pour little oil in it. Then add whole spices - cumin seeds,
cinnamon seeds and bay leaf. Let them cook until the seeds start to crackle.</li>
<li>On the other hand, marinate the chicken with salt, turmeric powder and lemon
juice and keep it aside for 20-30 minutes. Now, using a grinder, grind onion and
1 cup of water to make a puree of thick consistency and put aside till required.
Wash the grinder and put cashews in it and add 1 cup of water. Make a paste of cashews
of smooth consistency. Again, wash the grinder and grind red chillies with 1/2 cup of
<li>Next, take a saucepan and add onion puree with ginger and garlic paste into it and cook
it for 2 minutes. Add tomato puree to the pan and cook for another 2 minutes. Meanwhile,
add salt to taste and red chilli paste, and cover the pan with a lid.</li>
<li>Then add the marinated chicken pieces in the gravy and let it cook for more
15-20 minutes with the lid on the pan, after 15-20 minutes check if the chicken
pieces are cooked properly. Now, add cashews and red chilli paste into the mixture
<li>Now add garam masala, coriander powder, cashew nut paste and kasuri methi and mix
them all well. Let the chicken curry cook for another 5 minutes and then turn off the flame.
Garnish the curry with fresh coriander leaves and serve hot with steamed rice or paratha.</li>
</ol>
</body>
</html>
<!-- WRITE A PROGRAM USING GROUPING ELEMENTS <div and <span> -->
<html>
<body<
<div>
[email protected]</span></b></p>
</div>
</body>
</html>
<!-- WRITE HTML MENU PAGE FOR EXAMPLE CAFE SITE-->
<html>
<head>
</head>
<body>
<ul>
<li>TEA</li>
<li>COFFEE</li>
<li>GREEN TEA</li>
</ul>
<UL>
<li>ICE CREAMS</li>
<li>COOL DRINKS</li>
<li>CAKES</li>
</ul>
</body>
</html>
<!-- WRITE A HTML PROGRAM TO CREATE TIME TABLE -->
<html>
<body>
<th>
</th>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<body>
</html>
<!-- WRITE A HTML PROGRAM TO CREATE A FRAME AND LINKS BETWEEN FRAMES -->
f.html
<html>
<head>
</head>
<frameset cols="50%,50%">
<frame src="f1.html">
<frame src="f2.html">
</frameset>
</html>
f1.html
<html>
<head>
</head>
<body>
WELCOME TO PAGE1
<br>
</body>
</html>
f2.html
<html>
<head>
</head>
<body>
WELCOME TO PAGE2
</body>
</html>
f3.html
<html>
<head>
</head>
<body>
WELCOME TO PAGE3
</body>
</html>