You are on page 1of 34

Q1. Write a programme to create Title and Heading in web page.

CODING <html> <head> <h3><center><font face="times new roman" size="+5" color="brown"> animal planet</font></h3></center> <title>animal planet</title> </html> OUTPUT

Q2. Write a programme to create all types of headings.

CODING <html> <head> <h3><center><font face="TIMES NEW ROMAN" size="+2" color="red"> ANIMAL PLANET </font></h3></center> <title>ANIMAL PLANET</title> <br> <h1>MURIEL</h1><br> <h2>PUPPIES</h2><br> <h3>MOSES AND RAVEN</h3><br> <h4>SHEEP</h4><br> <h5>HENS</h5><br> <h6>COWS</h6><br> <h7>CAT</h7><br> <h8>LION</h8><br> </head> </html>

OUTPUT

Q3. Write a programme to explain the use of paragraph, break line, bold, italics and font size. CODING <html> <head><h1><font face="TIMES NEW ROMAN" size="+4" color="BLUE"> <center><h1>TYPES OF ANIMALS</h1> </center></font></h1> <title><i>TYPES</i></title> </head> <Body><font face="times new roman" size="+1"> <br><br> <p align="justify"> <br>

1.<b>MURIEL</b><br> A wise old goat who is friends with all of the animals on the farm. She, like Benjamin and Snowball, is one of the few animals on the farm who can read (with some difficulty as she has to spell the words out first) and helps Clover discover that the Seven Commandments have been continually changed. <br> <br><br> 2.<b>PUPPIES</b><br> Offspring of Jessie and Bluebell, taken away from them by Napoleon at birth and reared by Napoleon to be his security force. These dogs are trained to be vicious, going so far as to rip many of the animals to shreds
4

including the four young pigs, a sheep and various hens. They attempt to do the same to Boxer, who halts one of the puppies under his hoof. The puppy begs for mercy and through Napoleon's orders, Boxer sets the puppy free. <br> <br><br> 3.<B> MOSES AND RAVEN</b><br> An old crow who occasionally visits the farm, regaling its denizens with tales of a wondrous place beyond the clouds called Sugarcandy Mountain, where he avers that all animals go when they diebut only if they work hard. He is interpreted as symbolising the Russian Orthodox Church, with Sugarcandy Mountain an allusion to Heaven for the animals.[11] He spends his time turning the animals' minds to thoughts of Sugarcandy Mountain (rather than their work) and yet does no work himself. He feels unequal in comparison to the other animals, so he leaves after the rebellion, for all animals were supposed to be equal. However, much later in the novel he returns to the farm and continues to proclaim the existence of Sugarcandy Mountain. The other animals are confused by the pigs' attitude towards Moses; they denounce his claims as nonsense, but allow him to remain on the farm. The pigs do this to keep any doubting animals in line with the hope of a happy afterlife, keeping their minds on Sugarcandy Mountain and not on possible uprisings. In the end, Moses is one of the few animals to remember The Rebellion, along with Clover, Benjamin, and the pigs. <br> <br><br> 4.<B>SHEEP</b> They show limited understanding of the situations but nonetheless blindly support Napoleon's ideals. They are regularly shown repeating the phrase "four legs good, two legs bad". At the end of the novel, one of the Seven Commandments is changed after the pigs learn to walk on two legs and their shout changes to "four legs good, two legs better". They can be relied on by the pigs to shout down any dissent from the others. <br>
5

<br><br> 5.<B>HENS </b> The hens are among the first to rebel against Napoleon: in response to their being forced to give more eggs, they destroy their eggs instead of handing them to the higher powers (the pigs), who want to sell them to humans. Napoleon then uses fear and starves them until the pigs get what they want. Although this results in nine of them dying, their bodies are nevertheless given decent burials in the orchard, with a cover story given related to their deaths. <br> <B>Thought for the day:'Smoke gets in your eyes'and your mouth, and your nose and your lungs as do pollutants.hum the tune daily.</b> <br><br> 6.<B>COWS</b><br> Their milk is stolen by the pigs, who learn to milk them, and is stirred into the pigs' mash every day while the other animals are denied such luxuries. <br> <br><br> 7.<B>CAT</b><br> Never seen to carry out any work, the cat is absent for long periods, and is forgiven because her excuses are so convincing and she "purred so affectionately that is was impossible not to believe in her good intentions".[12] She has no interest in the politics of the farm, and the only time she is recorded as having participated in an election, she is found to have actually "voted on both sides".[12] <br> <br><br> 8.<B>LION</b><br> The lion (Panthera leo) is one of the four big cats in the genus Panthera, and a member of the family Felidae. With some males exceeding 250 kg (550 lb) in weight,[4] it is the second-largest living cat after the tiger. Wild lions currently exist in Sub-Saharan Africa and in Asia with an endangered remnant population in Gir Forest National Park in India,
6

having disappeared from North Africa and Southwest Asia in historic times. Until the late Pleistocene, about 10,000 years ago, the lion was the most widespread large land mammal after humans. They were found in most of Africa, across Eurasia from western Europe to India, and in the Americas from the Yukon to Peru.[5] The lion is a vulnerable species, having seen a possibly irreversible population decline of thirty to fifty percent over the past two decades in its African range.[2] Lion populations are untenable outside designated reserves and national parks. Although the cause of the decline is not fully understood, habitat loss and conflicts with humans are currently the greatest causes of concern. Within Africa, the West African lion population is particularly endangered. <br> <br><br> </p> </font> </body> </html>

OUTPUT

Q4. Write a programme to insert an image on user page. CODING <html> <head><h1><font face="lucida console" size="+1" color="voilet"> <center>KING OF FOREST</center></font></h1> <title>LION</title> </head> <body> <img src="C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\images[1].jpg" height="700" width="700" align="CENTER"> </body> </html>

OUTPUT

10

Q5. Write a programme to create a table in web page. CODING <html> <title>employee record</title> <head><font face="times new roman" size="+3" color="black"><CENTER>create employee table</CENTER></head> <br> <body> <pre> emp_id emp_name emp_address 345 himanshu 2456,paschim vihar 456 mrinal 4567,guru harikrishan nagar 567 ajay 6789,sector-22,rohini </PRE> </BODY> </HTML>

11

OUTPUT

12

Q6. Write a programme to create ordered list and unordered list in html. CODING <html> <head><H1><font face="TIMES NEW ROMAN" size="+4" color="BLACK"> <center>PET AND WILD ANIMALS</font></center></H1> <title>PET AND WILD ANIMALS</title> </head> <Body><font face="times new roman" size="+1"> <p align="justify"> <b>PET ANIMALS</b><br> <br><br> Domesticated pets are the most common types of pet. They have consistently been kept in captivity over a long enough period of time that they exhibit marked differences in behavior and appearance from their wild relatives. <br><br> 1. Mammals <br> 2. Birds <br> 3. Fish<br> 4. Wild <br> 5. Exotic mammals <br> 6. Reptiles<br> 7. Amphibians<br> 8. Fish<br>
13

<b>WILD ANIMALS</b> <ul> <b><li>Wolf </b><br> The wolf is the most famous grey-coloured carnival, about 80 cm tall and up to 1.5m in length. Wolves live in packs and that is how they prey the cattle, mainly sheep, thus causing great losses to the villages who live in the mountains. They are quite strong and cunning, however, lately people tend to think that wolves are pests and as a result they are exposed to extinction. Those who know better warn that wolves are facing the threat of extinction. To survive the hunters, the wolves have withdrawn deep into the forests. Most of them die of hunger due to the fact that other animals runaway from areas where wolves live. To survive, nature has gifted them with speed and cunning, but very often they fight each other because of hunger. The wolf is the biggest enemy of cattle-breeding. Although the wolf has a bad reputation, it also performs a positive role in nature by hunting down the sick, weak and undeveloped animals i.e. by acting the factor who sellects survival. <br><br> <li><b>Roebuck </b><br> Roebuck is one of the dearest creatures on Earth. This animal is gentle and loved by nature lovers and children. However, it is also the favourite prey of hunters in our country, but also in Europe. Hunting this animal is permenantly prohibited in our country. The roebuck is one of the oldest species on Earth that lives in forest areas. Today, there are about 10,000 roebucks in Macedonia. Roebucks can be found in forest valleys in the mountains (Bistra, Sar, Stogovo, Baba, Jablanica, Babuna, Kozuv, Plackovica, Plakena Mountain, Belasica, Karajica, Rozden etc.). Roebucks eat exclusively vegatable foods. The body of the roebuck is
14

graceful, elegant and harmoniously built. They have long and thin legs. The colour of their hair is reddish in the summer periods, while it turns into greyish and chestnut colour in winter. <BR><br> <li><b>Deer</b><br> The most beautiful and noble of all are the deer, the roebuck being one of them. The male have big, strong horns with many branches. Most of the deer loose their horns before the Winter, but they grow them back in Spring. <br><br> <b>Weasel </b><br> Weasels belong to a family that consists of real weasels, water weasels and ground weasels. There are more species of weasels in our country, but most prominent are the golden weasel and the white weasel. <br><br> <li><b>Chamois</b> <br> The chamois is one of the most beautiful inhabitants of European mountains, thus there are chamois in our country. The chamois is very mobile and it moves about very easily amongst the rocky areas in the mountains. Today chamois are facing rapid reduction in number and as a result, there is a need for it to be completely protected. <br><br> <b><li>Brown Bear</b> <br> This is one of the most prominent animals from the family of bears that can be found nearly everywhere in the northern hemisphere (thus, in Europe). The bear's habitat are the mountainous forests and river valleys. Brown bears are big mamles and their size is different according to their habitat. Its average size is 100 cm when upright on all fours, while the length of the body is in average about 200 cm. Its average weight is 150
15

- 375 kg and its average life span is about 25 years. Their paws are brown and they have thick fur all over their body. They eat mainly vegetable and fruits such as balckberries, raspberries, various roots, hazelnuts, grass etc. However, they also eat honey, fish, various insects, ants and various small mamles. The brown bear that lives in our country is facing the same problems as the brown bear that lives all over Europe - its complete extinction. Its habitat - the forests - are threatened, and as a result, the brown bear itself is threatened. The brown bear can be found in all three national parks, however its number is constantly decreasing. <br><br> <b><li>Lynx</b><br> Lynx have greyish fur with black spots. Its long legs and big feet are adjusted for cold climates, thus in Winter it does not sink into the snow. It lives in forests and mountains faraway from inhabited places. It usually sleeps during the day. The lynx feeds on various mamles, and its favourite meal is the small cubs of the deer. It hunts its prey thanks to its developed senses of sight and sound. It usually eats at night. The average length of the body is 800-1300 milimetres, and they weigh 18-35 kg. Its life span is about 17 years. <br><br> </ul> <br><br> <br> </body> </html> OUTPUT

16

17

Q7. Write a programme to create hypertext reference link and link list.

CODING <html> <head> <title>food</title> </head> <body link="orange" alink="orange" vlink="green" > <font face="times new roman" size="+0"> <a href="QUES1.html" target="frame"> HOME</a><br> <a href="QUES2.html" target="frame"> ANIMAL PLANET</a><br> <a href="QUES3.html" target="frame"> PET ANIMALS</a><br> <a href="QUES4.html" target="frame"> KING OF FOREST</a><br> <a href="QUES5.html" target="frame"> WILD ANIMALS</a><br> </font> </body> </html>

18

OUTPUT

19

Q8. Write a programme to create Horizontal Ruler. CODING <html> <title>ANIMAL PLANET</title> <head><b><i><center><font face="TIMES NEW ROMAN" size="+5" color="GREEN">ANIMAL PLANET</font></center></i></b></head> <br> <body> <hr align="center" size="20%" width="50%" color="GREEN"> </body> </html> OUTPUT

20

Q9. Create a web page displaying your resume. CODING <HTML> <html> <head><h1><font face="times new roman" size="+2" color="white"> <center><h1>RESUME</h1></center></font></h1> <title><i>RESUME</i></title> </head> <Body bgcolor="black" link="white" alink="white" vlink="light blue" ><font face="times new roman" size="+0"> <br><br> <p align="justify"> <br> <hr align="center" size="25%" width="100%" color="white"> <br> <br> <br> <a href="q10.html" target="frame"> ABOUT ME</a><br> <a href="q11.html" target="frame"> ACADEMIC</a><br> <a href="q12.html" target="frame"> TRAINING AND PROJECT UNDERTAKING</a><br> <a href="q13.html" target="frame"> EXTRA CURRICULUM ACTIVITIES</a><br> <a href="q14.html" target="frame"> CONTACT DETAILS</a><br> <br> <br> </p> </body> </html>

21

OUTPUT

22

CODING <html> <head><h1><font face="times new roman" size="+4" color="black"> <center><h1>ABOUT ME</h1></center></font></h1> <title><i>ABOUT ME</i></title> </head> <Body><font face="times new roman" size="+2"> <br><br> <p align="justify"> <br> NAME:Himanshu Vats<BR> ADDRESS:Wz-52,shakurpur village,delhi-110034<BR> EMAIL ID:Himanshuvts@gmail.com<BR> OBJECTIVE:To get a good job<BR> <br> <br> <img src="C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\h.jpg" height="300" width="300" align="left"> <br> </p> </body> </html>

23

OUPUT

24

CODING <html> <head><h1><font face="times new roman" size="+4" color="black"> <center><h1>ACADEMIC DETAILS</h1></center></font></h1> <title><i>ACADEMIC</i></title> </head> <Body><font face="times new roman" size="+2"> <br><br> <p align="justify"> <br> <ul> <b><li>SSC:CBSE,from Maharaja Agresen</b><br> <br><br> <li><b>HSC:CBSE,from Maharaja Agresen</b><br> <br><br> <li><b>GRADUATION:BBA,from IP University</b><br> <br><br> <li><b>Currently pursuing MBA from IP University</b><br> </ul> <br> </p> </body> </html>

25

OUTPUT

26

CODING <html> <head><h1><font face="times new roman" size="+4" color="black"> <center><h1>TRAINING AND PROJECT UNDERTAKING</h1></center></font></h1> <title><i>TRAINING AND PROJECT UNDERTAKING</i></title> </head> <Body><font face="times new roman" size="+2"> <br><br> <p align="justify"> <br> <ul> <b><li>PROJECT REPORT ON MARKETING IN ICICI PRODENTIAL LIFE INSURANCE</b><br> <br><br> <li><b>UNDERTAKEN SUMMER TRAINING IN ICICI LIFE INSURANCE COMPANY</b><br> <br><br> </ul> <br> </p> </body> </html>

27

OUTPUT

28

CODING <html> <head><h1><font face="TIMES NEW ROMAN" size="+5" color="BLACK"> <center><h1>EXTRA CURRICULUM ACTIVITIES</h1></center></font></h1> <title><i>EXTRA CURRICULUM ACTIVITIES</i></title> </head> <Body><font face="times new roman" size="+2"> <br><br> <p align="justify"> <br> <B>I HAVE TAKEN PART IN FOLLOWING ACTIVITIES:</B><BR> <ul> <BR><BR> <b><li>VOLLEY BALL</b><br> <br><br> <li><b>CRICKET</b><br> <br><br> <b><li>THROW BALL</b><br> <br><br> </ul> <br> </p> </body> </html>

29

OUTPUT

30

CODING <html> <head><h1><font face="times new roman" size="+5" color="Black"> <center><h1>CONTACT DETAILS</h1></center></font></h1> <title><i>CONTACT DETAILS</i></title> </head> <Body><font face="times new roman" size="+3"> <br><br> <p align="justify"> <br> <ul> <b><li>Ph No.-9899751315</b><br> <br><br> <li><b>Email ID-himanshuvts9@gmail.com</b><br> <br><br> </ul> <br> </p> </body> </html>

31

OUTPUT

32

Q10. Write a programme to create a table on a web page using a tag option. CODING <html> <title>table</title> <head>table</head> <body> <table border="5" width="100%" cell padding="10" cell spacing="10"> <tr> <td>emp_id</td> <td>emp_name</td> <td>emp_address</td> </tr> <tr> <td>345</td> <td>himanshu</td> <td>2456,paschim vihar</td> </tr> <tr> <td>456</td> <td>mrinal</td> <td>4567,guru harikrishan nagar</td> </tr> <tr> <td>567</td> <td>ajay</td> <td>6789,sector-22,rohini</td> </tr> </table> </body> </html>

33

OUTPUT

34

You might also like