0% found this document useful (0 votes)
82 views10 pages

ICT Practical Assignment (Old)

The document contains HTML code for an assignment on the Tokyo Olympics. It includes code for main.html which divides the page into frames, and code for individual pages like heading.html, list.html and pages on gold, silver and bronze medalists. The list.html page contains links to pages on individual medalists which are displayed in another frame. The pages on medalists contain details like name, age, sport, image and description. The document also includes code for two JavaScript questions - one calculating sum and quotient, and other calculating area of a trapezium.

Uploaded by

HYPE AD
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)
82 views10 pages

ICT Practical Assignment (Old)

The document contains HTML code for an assignment on the Tokyo Olympics. It includes code for main.html which divides the page into frames, and code for individual pages like heading.html, list.html and pages on gold, silver and bronze medalists. The list.html page contains links to pages on individual medalists which are displayed in another frame. The pages on medalists contain details like name, age, sport, image and description. The document also includes code for two JavaScript questions - one calculating sum and quotient, and other calculating area of a trapezium.

Uploaded by

HYPE AD
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/ 10

ICT Practical assignment

Aryan Damle 8E
Q3) Code of main.html

<html>

<frameset rows="20%, *">

<frame src="C:\Users\Aryan\Desktop\ICT MT ASSIGNMENT\heading.html">

<frameset cols="50%, *">

<frame src="C:\Users\Aryan\Desktop\ICT MT ASSIGNMENT\list.html">

<frame src="C:\Users\Aryan\Desktop\ICT MT ASSIGNMENT\info.html" name="f1">

</frameset>

</frameset>

</html>

Code of heading.html

<html>

<head>

<h1 align="center"><b>TOKYO OLYMPICS</b></h1>

<body bgcolor="green">

</body>

</html>

Code of info.html

<html>

<body bgcolor="blue">

</body>

</html>

Code of list.html

<html>
<body bgcolor="yellow">

<center>

<font size="8">

<ul>

<li><a href="C:\Users\Aryan\Desktop\ICT MT ASSIGNMENT\Gold_Medal.html" target="f1">Gold


Medal</a></li>

<li><a href="C:\Users\Aryan\Desktop\ICT MT ASSIGNMENT\silver_medal.html" target="f1">Silver


Medal</a></li>

<li><a href="C:\Users\Aryan\Desktop\ICT MT ASSIGNMENT\Bronze_medal.html"


target="f1">Bronze Medal</a></li>

</ul>

</center>

</font>

</body>

</html>

Code of Gold_medal.html

<html>

<h1 align="center"><B><font color="#fcba03">Gold Medalists</font></B></h1>

<body bgcolor="#6196ff" leftmargin="5%">

<font face="Comic Sans MS" size="5" color="red">

Name - Neeraj Chopra

<br>

<br>

Age - 23 yrs

<br>

<br>

Sport - javelin throw

<br>

<br>

Description - Neeraj Chopra VSM (born 24 December 1997) is an

Indian track and field athlete who competes in the javelin throw.
As of August 2021, he is ranked second internationally by World Athletics.

A Junior Commissioned Officer (JCO) in the Indian Army, Chopra is the first track

and field athlete to win a gold medal for India at the Olympics. He is also the first

track and field athlete from India to win at the IAAF World U20 Championships, where in 2016

he achieved a world under-20 record throw of 86.48 m, becoming the first Indian athlete to set

a world record.

<br>

<br>

<center>

<img src="C:\Users\Aryan\Desktop\ICT MT ASSIGNMENT\Neeraj_chopra.jpg" width="1000px"


align="center">

<br>

<br>

<br>

</center>

</font>

</body>

</html>

Code of silver_medal.html

<html>

<h1 align="center"><b><font color="#626a7a">Silver Medalists</font></b></h1>

<body bgcolor="#6196ff" leftmargin="5%">

<font face="Comic Sans MS" size="4" color="red">

Name - Ravi Kumar Dahiya

<br>

Age - 23 yrs

<br>

Sport - Wrestling 57Kg

<br>

Description - Ravi Kumar Dahiya, , is an Indian


freestyle wrestler who won a silver medal at the 2020

Tokyo Olympics in the 57 kg category. Dahiya is also a

bronze medalist from 2019 World Wrestling Championships and

a two-time Asian champion.

<br>

<br>

<br>

</font>

<font face="Comic Sans MS" color="orange" size="4">

Name - Mirabai Chanu

<br>

Age - 27 yrs

<br>

Sport - weightlifting 49 Kg

<br>

Description - Saikhom Mirabai Chanu (born 8 August 1994) is an Indian weightlifter.

She won the silver medal at the 2020 Tokyo Olympics in Women's 49 kg category.

Mirabai Chanu has won the World Championships and multiple medals at the Commonwealth
Games.

She was awarded the Padma Shri by the Government of India for her contributions to the sport.

She was awarded Major Dhyan Chand Khel Ratna award by the Government of India in 2018.

<br>

<br>

</font>

<img src="C:\Users\Aryan\Desktop\ICT MT ASSIGNMENT\Ravi_Kumar_Dahiya.jpg" Width="500px"


height="500px">

<img src="C:\Users\Aryan\Desktop\ICT MT ASSIGNMENT\Mirabai_Chanu.jpg" align="right">

</body>

</html>

Code of Bronze_medal.html

<html>
<h1 align="center"><font color="#634341"><b>Bronze Medalists</b></font></h1>

<body bgcolor="#6196ff" leftmargin="5%">

<font face="Comic Sans MS" size="4" color="green">

Name - PV Sindhu

<br>

Age - 26 yrs

<br>

Sport - Badminton

<br>

Description - Pusarla Venkata Sindhu (born 5 July 1995) is an Indian professional badminton player.

Over the course of her career, Pusarla has won medals at multiple tournaments including Olympics
and on

the BWF circuit including a gold at the 2019 World Championships. She is the first Indian to become
the

Badminton World Champion and only the second individual athlete from India to win two
consecutive medals at the Olympic Games.

She rose to a career-high world ranking of no. 2 in April 2017.

</font>

<br>

<br>

<font face="Comic Sans MS" size="4" color="yellow">

Name - Bajrang Punia

<br>

Age - 27 yrs

<br>

Sport - freestyle wrestling 65 Kg

<br>

Description - Bajrang Punia (born 26 February 1994) is an Indian freestyle wrestler, who competes in
the 65-kg weight category.

At the 2020 Tokyo Olympics, Punia won a bronze medal by defeating Kazakhstan’s Daulet
Niyazbekov with a wide 8-0 margin.

Punia is the only Indian wrestler to win 3 medals at the World Wrestling Championships.

</font>
<br>

<br>

<font face="Comic Sans MS" size="4" color="orange">

Name - Lovlina Borgohain

<br>

Age - 23 yrs

<br>

Sport - Boxing

<br>

Description - Lovlina Borgohain (born 2 October 1997) is an Indian amateur boxer who won a bronze
medal at the 2020 Summer Olympics in the women's welterweight event,

becoming only the third Indian boxer to win a medal at the Olympics. She also won bronze medal at
the 2018 AIBA Women's World Boxing Championships and the 2019 AIBA Women's

World Boxing Championships. She won the gold medal at 1st India Open International Boxing
Tournament held in New Delhi and silver medal at 2nd India Open International Boxing

Tournament held in Guwahati. Borgohain is the first female athlete and the second boxer from
Assam to represent the state in the Olympics. In 2020, she became the sixth person

from Assam to receive Arjuna Award.

</font>

<br>

<br>

<font face="Comic Sans MS" size="4" color="red">

Name - Indian Hockey Team

<br>

Description - The India men's national field hockey team represents India in international Field
hockey competitions, and is governed by Hockey India. The team was formerly

under the control of Indian Hockey Federation. India was the first non-European team to be a part of
the International Hockey Federation. In 1928, the team won its first Olympic

gold medal and until 1960, the Indian men's team remained unbeaten in the Olympics, winning six
gold medals in a row.

</font>

<br>

<br>
<center>

<img src="C:\Users\Aryan\Desktop\ICT MT ASSIGNMENT\PV_Sindhu.jpg" width="800px">

<img src="C:\Users\Aryan\Desktop\ICT MT ASSIGNMENT\Bajrang_punia.jpg" width="800px">

</center>

<center>

<img src="C:\Users\Aryan\Desktop\ICT MT ASSIGNMENT\Lovlina_Borgohain.jpg" width="800px">

<img src="C:\Users\Aryan\Desktop\ICT MT ASSIGNMENT\Indian_Hockey_Team.jpg"


width="800px">

</center>

</body>

</html>

Output when clicked on ‘Gold medal’

Output when clicked on ‘Silver medal’


Output when clicked on ‘Bronze medal’

Q2) Code of Q2

<html>

<h1 align="center"><b>Addition and Division of 2 Numbers</b></h1>

<body bgcolor="cyan">

<font color="red" size="8">

<script language="JavaScript">

var a,b,sum,quotient;

a=10;

b=5;
sum = a + b;

document.write("The sum of 10 and 5 is "+sum);

quotient = a / b;

document.write("<br>The quotient of 10 divided by 5 is "+quotient);

</script>

</font>

</body>

</html>

Output of this code

Q1) code of Q1

<html>

<body>

<script language="JavaScript">

a = parseInt(window.prompt("Enter length of 1st parallel side: ", 0));

b = parseInt(window.prompt("Enter length of 2nd parallel side: ", 0));

h = parseInt(window.prompt("Enter height: ", 0))

area = (1/2) * (a+b) * h;


document.write("<font color='blue'> The area of trapezium is : " + area );

</script>

</body>

</html>

Output of Q1 when entered the values of a,b,h 4,5,10 respectively

You might also like