0% found this document useful (0 votes)
25 views21 pages

B.SC HTML Programs

Uploaded by

laxmiadapala1205
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views21 pages

B.SC HTML Programs

Uploaded by

laxmiadapala1205
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

<!

--wRITE A HTML PROGRAM USING BASIC TEXT FORMATTING TAGS <hn>,<p>,<br>,<pre> -->

<html>

<title> TEXT FORMATTING TAGS </title>

<body>

<h1>THIS IS TAG H1</h1>

<h2>THIS IS TAG H2</h2>

<h3>THIS IS TAG H3</h3>

<h4>THIS IS TAG H4</h4>

<h5>THIS IS TAG H5</h5>

<h5>THIS IS TAG H6</h5>

<p>THE DIFFERENT PROGRAMMING LANGUAGES I STUDIED IN B.SC,

<br> C, C++,JAVA</p>

<pre>

PRE TAG IS USED TO DISPLAY THE TEXT IN FIXED WIDTH FONT AND IT

PROTECTS THE LINE BREAKS AND SPACES

</pre>

</body>

</html>
<!--WRITE HTML PAGE FOR EXAMPLE CAFE USING ABOVE TEXT FORMATTING TAGS-->

<html>

<title> CAFE SITE</title>

<body>

<h1>IRANI CAFE</h1>

<h2>NEAR P.G COLLEGE</h2>

<h3>SECUNDERABAD</h3>

<h4>S.P ROAD</h4>

<h5>PARADISE METRO STATION</h5>

<h6> 500003 </h6>

<p> BRANCHES: <br> HYDERABAD <br> DELHI </p>

<pre>

THEY ARE MANY BRANCHES OF IRANI CAFES

IN HYDERABAD

</pre>

<h6> mail-id: [email protected]</h6>

</body>

</html>
<!--WRITE A HTML PROGRAM USING PRESENTATIONAL ELEMENT TAGS <b>,<i>
<strike>,<sup>,<sub>,<big>,<small>,<hr>-->

<html>

<title> PRESENTATIONAL ELEMENT TAGS </title>

<body>

<p>

<b> I AM ..........</b>

<strike>STUDYING IN </strike>

<i> UNIVERSITY PG COLLEGE</i>

</p>

<p>

<b> CHEMICAL FORMULA OF WATER</b>

H<sub>2</sub><b>O</b>

</p>

<p> PG COLLEGE<sup> SECUNDERABAD </sup>

<hr>

<p>

<big> UNIVERSITY P.G COLLEGE SECUNDERAB </big>

</p>

<p>

<small> UNIVERSITY P.G COLLEGE SECUNDERABAD </small>

</p>

</body>

</html>
<!-- WRITE HTML PROGRAM USING DIFFERENT TAGS-->

<html>

<title> TYPES OF LISTS</title>

<body>

<h1>ORDERED LISTS<h1>

<ol>

<li> Ordered Lists </li>

<li> Unorderd List</li>

<li> Definition List</li>

</ol>

<h2> UNORDERED LIST </h2>

<ul>

<li> Ordered Lists </li>

<li> Unorderd List</li>

<li> Definition List</li>

</ul>

<h3> DEFINITION LIST <h3>

<dl>

<dt> ORDERED LISTS </dt>

<dd> Ordered lists display the text carrying large roman numbers, small roman numbers, capital letters
etc.</dd>

<dt> UNORDERED LIST </dt>

<dd> Unorderd list display certain text on the console , with each independent sentence being intilised
with a bullet mark</dd>

<dt> DEFINITION LISTS</dt>

<dd> DEFINITION LIST IS DIFFERENT FROM TWO LISTS</dd>

<dl>

</body>

</html>
<!--WRITE A HTML PAGE THAT DISPLAY IGREDIENTS AND INSTRUCTIONS TO PREPARE A RECIPE-->

<html>

<head>

<title> CHICKEN CURRY </title>

</head>

<body>

<h1> CHICKEN CURRY PREPARATION<h1>

<h2> INGREDIENTS: <h2>

<ul>

<li> 1 kilograms chicken </li>

<li>1/2 cup tomato puree </li>

<li>1 tablespoon garlic paste</li>

<li>1 cinnamon stick</li>

<li>1 bay leaf</li>

<li>1 tablespoon garam masala powder</li>

<li>1 tablespoon kasoori methi powder</li>

<li>2 1/2 cup water</li>

<li>2 onion</li>

<li>1 tablespoon ginger paste</li>

<li>1 cup cashews </li>

<li>1 teaspoon cumin seeds</li>

<li>1 tablespoon coriander powder</li>

<li>2 tablespoon vegetable oil</li>

<li>salt as required</li>

<li>1 teaspoon turmeric</li>

<li>1/3 cup lemon juice</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

water to form a paste of thick consistency.</li>

<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

and cook for another 2 minutes.</li>

<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>

<title> GROUPING ELEMENTS </title>

<body<

<div>

<p> WELCOME TO <i> <span style ="color:blue;">

UNIVERSITY PG COLLEGE OU SECUNDERABAD </span></i> group</p>

<p> CONTACT US AT:<b> <span style="color:green;">

[email protected]</span></b></p>

</div>

</body>

</html>
<!-- WRITE HTML MENU PAGE FOR EXAMPLE CAFE SITE-->

<html>

<head>

<title> MENU PAGE FOR A CAFE </TITLE>

</head>

<body>

<h1>IRANI CAFE, HYDERABAD</h1>

<ul>

<li>TEA</li>

<li>COFFEE</li>

<li>GREEN TEA</li>

</ul>

<h2> BAKERY <H2>

<UL>

<li>ICE CREAMS</li>

<li>COOL DRINKS</li>

<li>CAKES</li>

</ul>

</body>

</html>
<!-- WRITE A HTML PROGRAM TO CREATE TIME TABLE -->

<html>

<head> TIME TABLE </title>

<body>

<h1> TIME TABLE <h1>

<table border="2" cellspacing="3" align="center">

<th>

<td> 9:00 - 10:00

<td> 10:00 - 11:00

<td> 11:00 - 12:00

<td> 12:00 - 1:00

<td> 01:00 - 1:30

<td> 1:30 - 2:30

<td> 2:30 - 3:30

<td> 3:30 - 4:30

</th>

<tr>

<td align="center"> MONDAY

<td align="center" colspan="3">B1 PHYSICS4/B2 CS3</td>

<td align="center"> PHYSICS <td align="center"><br>

<td align="center" colspan="3">B1/B2/B3 MATHS</td>

</tr>

<tr>

<td align="center"> TUESDAY


<td align="center"> MATHS <td align="center">PHYSICS<br>

<td align="center"> COMPUTERS3 <td align="center">MATHS<br>

<td align="center"> L <td align="center" colspan="3">B2 PHYSICS4</td>

</tr>

<tr>

<td align="center"> WEDNESDAY

<td align="center"> MATHS <td align="center">COMPUTERS4<br>

<td align="center"> PHYSICS <td align="center">MATHS<br>

<td align="center"> U <td align="center" colspan="3">B2 PHYSICS3/B1 COMPUTERS3</td>

</tr>

<tr>

<td align="center"> THURSDAY

<td align="center" colspan="3">B2 COMPUTER4/B1 PHYSICS3</td>

<td align="center"> PHYSICS <td align="center">N<br>

<td align="center" colspan="3">B1 COMPUTERS4</td>

</tr>

<tr>

<td align="center"> FRIDAY

<td align="center"> COMPUTERS3 <td align="center">MATHS<br>

<td align="center"> PHYSICS <td align="center">COMPUTERS4<br>

<td align="center"> C <td align="center" colspan="3">B1/B2/B3 MATHS</td>

</tr>

<tr>

<td align="center"> SATURDAY

<td align="center"> COMPUTERS4 <td align="center">PHYSICS<br>

<td align="center"> COMPUTERS3 <td align="center">MATHS<br>


<td align="center"> H <td align="center"> SEC 3/4 <td align="center">GE<br>

</tr>

<body>

</html>
<!-- WRITE A HTML PROGRAM TO CREATE A FRAME AND LINKS BETWEEN FRAMES -->

f.html

<html>

<head>

<title> MASTER PAGE </title>

</head>

<frameset cols="50%,50%">

<frame src="f1.html">

<frame src="f2.html">

</frameset>

</html>

f1.html

<html>

<head>

<title> PAGE1 </title>

</head>

<body>

WELCOME TO PAGE1

<br>

click here <a href="f3.html"> to link to page3 </a>

</body>

</html>
f2.html

<html>

<head>

<title> PAGE2 </title>

</head>

<body>

WELCOME TO PAGE2

</body>

</html>

f3.html

<html>

<head>

<title> PAGE3 </title>

</head>

<body>

WELCOME TO PAGE3

</body>

</html>

You might also like