0% found this document useful (0 votes)
86 views23 pages

Assignment Number: 2 Roll Number:38

The document provides HTML code for an assignment involving image mapping and hyperlinks. It includes code for an HTML page with a marquee displaying information about the Tata Group with hyperlinks. It also includes code for additional pages like About Us, Contact Us, Profile and Product List that are linked from the main page. The code uses elements like <marquee>, <a href>, <ul>, <li> etc to create the pages and links.

Uploaded by

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

Assignment Number: 2 Roll Number:38

The document provides HTML code for an assignment involving image mapping and hyperlinks. It includes code for an HTML page with a marquee displaying information about the Tata Group with hyperlinks. It also includes code for additional pages like About Us, Contact Us, Profile and Product List that are linked from the main page. The code uses elements like <marquee>, <a href>, <ul>, <li> etc to create the pages and links.

Uploaded by

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

Assignment Number: 2 Roll Number:38

QUESTION NUMBER 1: - Create HTML code with use of <marquee> and hyperlink.

SOURCE CODE:-

Marquee.html

<Html>

<Head>

<Title>Marquee Hyperlink</Title>

</Head>

<Body vlink=red>

<Marquee Direction=right loop="-1"><Font Face=Algerian color=lime size=12px> Tata


Group</Font></Marquee>

<P><B>Tata Group is an Indian multinational conglomerate holding company headquartered in Mumbai,


Maharashtra,India. Founded in 1868 by Jamsetji Tata, the company gained international recognition after
purchasing several global companies, beginning with Tetley in 2000, recorded as "the biggest acquisition
in Indian corporate history." One of India's largest conglomerates, Tata Group is owned by Tata Sons.</P>

<P>Each Tata company operates independently under the guidance and supervision of its own board of
directors and shareholders. There are 29 publicly listed Tata enterprises with a combined market
capitalisation of about $151.62 billion as of March 1, 2018. Significant Tata companies and subsidiaries
include Tata Steel, Tata Motors, Jaguar Land Roverwith its marques Jaguar and Land Rover, Tata
Consultancy Services, Tata Power, Tata Chemicals (including Tata Swach), Tata Global Beverages
(including Tata Coffee), Tata Teleservices, Titan, Tata Communications, and The Indian Hotels Company
Limited (Taj Hotels).</B></P>

<Font Face=Century schoolbook size=5px><A Href=aboutus.html>About Us</A></Font><br><br>

<Font Face=Century schoolbook size=5px>

<A href=contactus.html>ContactUs</A></Font><br><br>

<Font Face=Century schoolbook size=5px><A Href=profile.html>Profile</A></Font><br><br>

<Font Face=Century schoolbook size=5px><A Href=product.html>Product List</A></Font><br><br>

</Body>

</Html>

Page Number:-
Assignment Number: 2 Roll Number:38
OUTPUT:-

Aboutus.html

<Html>

<Head>

<Title>About Us</Title>

</Head>

<Body>

<H1 align=center>ABOUT US</H1>

<Font Face=Times New Roman ><P>This section gives an overview of Tata, its businesses, values and
commitment, and its management. It also gives details of its long and illustrious history, and the
personalities who founded and enriched it</P>

An overview of Tata, its history, businesses, values and commitment<BR>

<U><B>CORPORATE GOVERNANCE</B></U>

<UL>The Tata Code of Conduct, values and purpose form the pillars of governance

<LI>Values and purposes</LI>

<LI>Tata Code of Conduct</LI>

</UL>

<U><B>EXELLENCE</B></U>

Page Number:-
Assignment Number: 2 Roll Number:38
<UL>Cutting-edge innovation and a robust business excellence movement chart the group's future
course

<LI> Business excellence</LI>

<LI> Innovation</LI>

<LI> Future thinking</LI>

</UL>

<U><B>MANAGEMENT</B></U>

<UL>The management provides strategic direction to the group

<LI> Group Chairemen</LI>

<LI>Chairemen Emeritus</LI>

<LI>Board of Tata Sons</LI>

<LI>Board of Tata Industries</LI>

</UL>

</Font>

<A Href="marquee.html">Back</A>

</Body>

</Html>

OUTPUT:-

Page Number:-
Assignment Number: 2 Roll Number:38
Contactus.html

<Html>

<Head>

<Title>Contact Us</Title>

</Head>

<Body>

<H1>CONTACT US</H1>

<H2>Contact information for Tata Companies in India and worldwide</H2>

<Font Color=blue face=century schoolbook>Representative offices worldwide</Font>

<H3>Tata Limited</H3>

Dr. David Landsman, executive director<br>

18, Grosvenor Place<br>

London SW1X 7HSc.<br>

<B>Phone:</B> +44 (20) 7235 8281<br>

<B>Fax: </B>+44 (20) 7235 8727<br>

<B>Email:</B><A href="http:\\[email protected]">[email protected]</A><br>

<B>Website:</B><A href="www.erope.tata.com">www.erope.tata.com</A><br><hr>

<B>Tata Sons, North America</B><br>

1700 North Moore St, Suite 1520<br>

Arlington, VA 22209-1911<br>

USA<br>

<B>Phone:</B> +1 (703) 243 9787<br>

<B>Fax:</B> +1 (703) 243 9791<br>

<B>Email: <A href="http:\\[email protected]">[email protected]</A><br>

Page Number:-
Assignment Number: 2 Roll Number:38
<B>Website:</B><a href="
www.northamerica.tata.com">www.northamerica.tata.com</A><br><hr>

<B>Tata Africa Holdings</B><br>

39 Ferguson Road<br>

Corner of Rivonia and Ferguson roads<br>

Illovo 2196<br>

Johannesburg, 2196<br>

South Africa<br>

<B>Phone:</B> +27 (11) 459 1700<br>

<B>Email:</B><A href="http:\\
[email protected]">[email protected]</A><br>

<B>Website:</B> <A href="www.tataafrica.com">www.tataafrica.com</A><br>

</Font>

<A Href="marquee.html">Back</A>

</Body>

</Html>

OUTPUT:-

Page Number:-
Assignment Number: 2 Roll Number:38
Profile.html

<Html>

<Head>

<Title>Profile</Title>

</Head>

<Body>

<H1>PROFILE</H1>

<H3>At the age of 29, Jamsetji Tata worked in his father's company. In 1869 with Rs.21,000 capital,
he founded a trading company. Further he bought a bankrupt oil mill at Chinchpokli and converted it
into a cotton mill, under the name Alexandra Mill which he sold in profit after 2 years. In 1874, he set
up another cotton mill at Nagpur named as Empress Mill. He dreamed of achieving 4 goals, setting
up an iron and steel company, a unique hotel, a world-class learning institution and a hydro-electric
plant. During his lifetime, in 1903, the Taj Mahal Hotel at Colaba waterfront was opened making it
the first hotel with electricity in India. After Jamsetji's death, his older son Dorabji Tata became the
Chairman in 1904. Sir Dorab established the Tata Iron and Steel company , now known as Tata Steel
in 1907. Marking the group's global ambitions, Tata Limited opened its first overseas office in
London. Following the founder's goals, Western India's first hydro plant was brought to life, giving
birth to Tata Power. Yet another dream, Indian Institute of Science was established with the first
batch admitted in 1911.</H3>

</Body>

</Html>

OUTPUT:-

Page Number:-
Assignment Number: 2 Roll Number:38
Product.html

<Html>

<Head>

<Title>Product List</Title>

</Head>

<Body>

<H1> PRODUCT LIST</H1>

<UL>

<LI>Auto components</LI>

<LI>Automotive batteries</LI>

<LI>Axles</LI>

<LI>Bus & coach body building</LI>

<LI>Buses</LI>

<LI>Command and control systems</LI>

<LI>Commercial vehicles</LI>

<LI>Composites (sheet moulded and bulk moulded)</LI>

<LI>Distribution</LI>

<LI>Functional plastic parts and systems</LI>

<LI>Gear boxes</LI>

<LI>Hatchback</LI>

<LI>Heat exchangers</LI>

<LI>Heavy vehicles</LI>

<LI>Luxury saloons</LI>

<LI>Multi-Axle trucks</LI>

<LI>Multi-purpose vehicles</LI>
Page Number:-
Assignment Number: 2 Roll Number:38
<LI>Pick-up vehicles</LI>

<LI>Plastic interiors & exteriors</LI>

<LI>Seating systems</LI>

<LI>Sedans</LI>

<LI>Special application vehicles</LI>

<LI>Sports cars</LI>

<LI>Stampings and assemblies</LI>

<LI>Station wagons</LI>

<LI>Suspension systems – truck and bus</LI>

<LI>Tippers</LI>

<LI>Tractor – trailers</LI>

<UL>

<A Href="marquee.html">Back</A>

</Body>

</Html>

OUTPUT:-

Page Number:-
Assignment Number: 2 Roll Number:38

QUESTION NUMBER 2: - Create HTML page for Image Mapping.

DURGA CAFE

SHAKES BEVERAGES COFFES


SHACKS CAKES TEAS
PIZZAS BURGERS SANDWITCHES

SOURCE CODE:-

Imagemapping.html
<Html>
<Head>
<Title>Image Mapping</Title>
</Head>
<Body Bgcolor=pink>
<H1 align=center><Img src=durga.jpg border=5 USEMAP=#imagemap></H1>
<Map name=imagemap>
<area shape=rect coords="253,175,851,445" href=shakes.html>
<area shape=rect coords="881,175,1479,443" href=beverages.html>
<area shape=rect coords="1507,175,2115,443" href=coffee.html>
<area shape=rect coords="257,541,859,813" href=snack.html>
<area shape=rect coords="891,541,1491,813" href=cakes.html>
<area shape=rect coords="1529,541,2125,815" href=teas.html>
<area shape=rect coords="253,897,855,1169" href=pizza.html>
<area shape=rect coords="889,897,1491,1165" href=burger.html>
<area shape=rect coords="1523,897,2119,1165" href=sandwitch.html>
</Map>
</Body>
</Html>

Page Number:-
Assignment Number: 2 Roll Number:38
OUTPUT:-

Shakes.html

<Html>

<Head>

<Title>Shakes</Title>

</Head>

<Body Bgcolor=lime>

<H1 Align=center><Font face=Algerian style=bold>SHAKES</Font></H1>

<Img src=shake.jpg height=300 width=200 border=5 >

<Img src=shake1.jpg height=300 width=300 border=5 >

<Img src=shake2.jpg height=300 width=200 border=5 >

<Img src=shake3.jpg height=300 width=400 border=5 >

<P><Font face=Times New Roman><B>A Shake is a sweet, cold beverage that is usually
made from milk, ice cream, or iced milk, and flavorings or sweeteners such as butterscotch,
caramel sauce, chocolate syrup.

</Font></P>

Page Number:-
Assignment Number: 2 Roll Number:38
<OL>Shakes

<LI>Vanilla Shake</LI>

<LI>Toasted Marshmellow Shake</LI>

<LI>S'Morse Shake</LI>

<LI>Fig & Part Shake</LI>

<LI>Strawberry Shake</LI>

<LI>Mixed Berry Shake</LI>

<LI>Chocolate blent Shake</LI>

<LI>Corn Coreal Shake</LI>

</OL></B>

</Body>

</Html>

OUTPUT:-

Page Number:-
Assignment Number: 2 Roll Number:38
Beverages.html

<Html>

<Head>

<Title>Beverasges</Title>

</Head>

<Body Bgcolor=gray>

<H1 Align=center><Font face=Algerian style=bold>BEVERAGES</Font></H1>

<Img src=beverages.jpg height=200 width=300 border=5 >

<Img src=beverages1.jpg height=200 width=300 border=5 >

<Img src=beverages2.jpg height=200 width=300 border=5 >

<Img src=beverages3.jpg height=200 width=200 border=5 >

<P><H3><Font face=Times New Roman><B>A drink (or beverage) is a liquid intended for
human consumption. In addition to their basic function of satisfying thirst, drinks play
important roles in human culture.</H3></Font>

<OL>Beverages

<OL type="1">Non-alchoholic beverages

<LI>Water</LI>

<LI>Milk</LI>

<LI>Tea</LI>

<LI>Coffee</LI>

<LI>Soft Drink</LI>

</OL>

<OL type="1">Alchoholic beverages

<LI>Beer</LI>

<LI>Wine</LI>

<LI>Cider</LI>
Page Number:-
Assignment Number: 2 Roll Number:38
<LI>Cocktails</LI>

<LI>Hard</LI>

</OL>

</OL>

</B>

</Body>

</Html>

OUTPUT:-

Coffee.html

<Html>

<Head>

<Title>Coffe</Title>

</Head>

<Body Bgcolor=Lime>

<H1 Align=center><Font face=Algerian style=bold>COFFEE</Font></H1>

Page Number:-
Assignment Number: 2 Roll Number:38
<Img src=coffee.jpg height=200 width=300 border=5 >

<Img src=coffee1.jpg height=200 width=300 border=5 >

<Img src=coffee2.jpg height=200 width=300 border=5 >

<Img src=coffee3.jpg height=200 width=300 border=5 >

<H3><P><Font face=Times New Roman><B>Coffee is a brewed drink prepared from roasted


coffee beans, the seeds of berries from certain Coffea species. The genus Coffea is native to
tropical Africa (specifically having its origin in Ethiopia and Sudan) and Madagascar, the Comoros,
Mauritius, and Réunion in the Indian Ocean. Coffee plants are now cultivated in over 70
countries, primarily in the equatorial regions of the Americas, Southeast Asia, Indian
subcontinent, and Africa.</Font></H3></P>

<OL type=1>Coffee

<LI>Coffee Americano</LI>

<LI>Cafe Latte</LI>

<LI>Cappuccino</LI>

<LI>Vienna</LI>

<LI>Irish Coffee</LI>

</OL>

</Body>

</Html>

OUTPUT:-

Page Number:-
Assignment Number: 2 Roll Number:38
Snacks.html

<Html>

<Head>

<Title>Snacks</Title>

</Head>

<Body Bgcolor=lime>

<H1 Align=center><Font face=Algerian style=bold>SNACKS</Font></H1>

<Img src=Snack.jpg height=300 width=300 border=5 >

<Img src=Snack1.jpg height=300 width=300 border=5 >

<Img src=Snack2.jpg height=300 width=300 border=5 >

<Img src=Snack3.jpg height=300 width=300 border=5 >

<P><Font face=Times New Roman><B>A snack is a small service of food and generally eaten
between meals. Snacks come in a variety of forms including packaged snack foods and other
processed foods, as well as items made from fresh ingredients at home.

</Font></P>

<OL>Shakes

<LI>Almonds</LI>

<LI>Frozen berries</LI>

<LI>Pakoda</LI>

<LI>Sliced fruit</LI>

<LI>Popcorn</LI>

<LI>Potato chips</LI>

</OL>

</B>

</Body>

</Html>
Page Number:-
Assignment Number: 2 Roll Number:38
OUTPUT:-

Cakes.html

<Html>

<Head>

<Title>Cake</Title>

</Head>

<Body Bgcolor=lime>

<H1 Align=center><Font face=Algerian style=bold>CAKE</Font></H1>

<Img src=cake.jpg height=200 width=300 border=5>

<Img src=cake1.jpg height=200 width=250 border=5>

<Img src=cake2.jpg height=200 width=300 border=5>

<Img src=cake3.jpg height=200 width=300 border=5>

<P><Font face=Times New Roman><B>Cake is a form of sweet dessert that is typically baked. In
their oldest forms, cakes were modifications of breads, but cakes now cover a wide range of
preparations that can be simple or elaborate, and that share features with other desserts such as
pastries, meringues, custards, and pies.</Font></P>

<OL type=1>Cake
Page Number:-
Assignment Number: 2 Roll Number:38
<LI>Black Forest Gateau Cake</LI>

<LI>Pineapple Cake</LI>

<LI>Eggless Truffle Cake</LI>

<LI>Fudgy Chocolate Cake </LI>

<LI>Cherry Cheese Cake</LI>

<LI>Oreo Cheese Cake</LI>

<LI>Banana Cake with Cream </LI>

<LI>Mago Merigue Cake</LI>

<LI>Gulten Foree Chocolate Cake</LI>

<LI>Coffee cake With Machs Fosting</LI>

</Body>

</Html>

OUTPUT:-

Page Number:-
Assignment Number: 2 Roll Number:38

Teas.html

<Html>

<Head>

<Title>Tea</Title>

</Head>

<Body Bgcolor=lime>

<H1 Align=center><Font face=Algerian style=bold>TEA</Font></H1>

<Img src=tea.jpg height=200 width=200 border=5 >

<Img src=tea1.jpg height=200 width=300 border=5 >

<Img src=tea2.jpg height=200 width=300 border=5 >

<Img src=tea3.jpg height=200 width=300 border=5 >

<H3><P><Font face=Times New Roman><B>Tea is an aromatic beverage commonly prepared by


pouring hot or boiling water over cured leaves of the Camellia sinensis, an evergreen shrub (bush) native to East
Asia. After water, it is the most widely consumed drink in the world. </H3></Font>

</P>

<OL Type=1>Tea

<LI>Black Tea</LI>

<LI>Dark Tea</LI>

<LI>Green Tea</LI>

<LI>White Tea</LI>

<LI>Puer Tea</LI>

</OL></B>

</Body>

</Html>

Page Number:-
Assignment Number: 2 Roll Number:38

OUTPUT:-

Pizzas.html

<Html>

<Head>

<Title>Pizza</Title>

</Head>

<Body Bgcolor=lime>

<H1 Align=center><Font face=Algerian style=bold>PIZZA</Font></H1>

<Img src=pizza.jpg height=200 width=200 border=5 >

<Img src=pizza1.jpg height=200 width=300 border=5 >

<Img src=pizza2.png height=200 width=300 border=5 >

<Img src=pizza3.png height=200 width=300 border=5 >

<H3><P><Font face=Times New Roman><B>Pizza is a savory dish of Italian origin, consisting of a


usually round, flattened base of leavened wheat-based dough topped with tomatoes, cheese, and
various other ingredients (anchovies, olives, meat, etc.) baked at a high temperature, traditionally
in a wood-fired oven. In formal settings, like a restaurant, pizza is eaten with knife and fork, but in
casual settings it is cut into wedges to be eaten while held in the hand. </H3></Font>

</P>

<OL Type=1>Pizza
Page Number:-
Assignment Number: 2 Roll Number:38
<LI>Neopolitan Pizza</LI>

<LI>Chicago Pizza</LI>

<LI>New-York Style Pizza</LI>

<LI>Sicilian Pizza</LI>

<LI>California Pizza</LI>

</OL></B>

</Body>

</Html>

OUTPUT:-

Burgers.html

<Html>

<Head>

<Title>Burger</Title>

</Head>

<Body Bgcolor=lime>

Page Number:-
Assignment Number: 2 Roll Number:38
<H1 Align=center><Font face=Algerian style=bold>BURGER</Font></H1>

<Img src=burger.jpg height=200 width=300 border=5 >

<Img src=burger1.jpg height=200 width=300 border=5 >

<Img src=burger2.jpg height=200 width=300 border=5 >

<Img src=burger3.jpg height=200 width=200 border=5 >

<P><H3><Font face=Times New Roman><B>A burger, beefburger or burger is a sandwich


consisting of one or more cooked patties of ground meat, usually beef, placed inside a sliced bread roll or bun.
The patty may be pan fried, grilled, or flame broiled. Hamburgers are often served with cheese, lettuce, tomato,
bacon, onion, pickles, or chiles; condiments such as mustard, mayonnaise, ketchup, relish, or "special sauce"; and
are frequently placed on sesame seed buns. </H3></Font>

</P>

<OL Type=1>

<LI>Becon Burger</LI>

<LI>Umami Burger</LI>

<LI>Pug Burger</LI>

<LI>Green Chille Burger</LI>

<LI>Beef Burger</LI>

</OL>

</B>

</Body>

</Html>

Page Number:-
Assignment Number: 2 Roll Number:38

OUTPUT:-

Sandwiches.html<Html>

<Head>

<Title>Sandwich</Title>

</Head>

<Body Bgcolor=lime>

<H1 Align=center><Font face=Algerian style=bold>SANDWICH</Font></H1>

<Img src=sandwitch.jpg height=200 width=300 border=5 >

<Img src=sandwich1.jpg height=200 width=300 border=5 >

<Img src=sandwich2.jpg height=200 width=300 border=5 >

<Img src=sandwich3.jpg height=200 width=200 border=5 >

<H3><P><Font face=Times New Roman><B>A sandwich is a food typically consisting of


vegetables, sliced cheese or meat, placed on or between slices of bread, or more generally any
dish wherein two or more pieces of bread serve as a container or wrapper for another food type.
The sandwich began as a portable finger food in the Western world, though over time it has
become prevalent worldwide.

Sandwiches are a popular type of lunch food, taken to work, school, or picnics to be eaten as part
of a packed lunch.</H3></Font>

</P>

Page Number:-
Assignment Number: 2 Roll Number:38
<OL type=1>Sandwich

<LI>Vegetale Sandwich</LI>

<LI>Chicken Sandwich</LI>

<LI>Salmon Sandwich</LI>

<LI>Fish Sandwich</LI>

<LI>Mutton Sandwich</LI>

</OL>

</B>

</Body>

</Html>

OUTPUT:-

Page Number:-

You might also like