0% found this document useful (0 votes)
5 views4 pages

AK CN Grade+8 Computer+Science Chapter+6

This document provides notes on HTML links and frames for Grade 8 Computer Science. It covers key concepts such as the <A> tag for hyperlinks, the difference between internal and external linking, and the use of <AUDIO> and <VIDEO> tags for multimedia. Additionally, it includes questions and answers to reinforce understanding of hyperlinking and frames in web design.

Uploaded by

Richmond Yuoni
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)
5 views4 pages

AK CN Grade+8 Computer+Science Chapter+6

This document provides notes on HTML links and frames for Grade 8 Computer Science. It covers key concepts such as the <A> tag for hyperlinks, the difference between internal and external linking, and the use of <AUDIO> and <VIDEO> tags for multimedia. Additionally, it includes questions and answers to reinforce understanding of hyperlinking and frames in web design.

Uploaded by

Richmond Yuoni
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/ 4

Computer Science

Chapter 6: Links and Frames in HTML Grade 8

CLASS NOTES-ANSWERS
Brain Developer

A) Select the correct option.

1) The href attribute of <A> tag defines the document to which the link leads.

a) href b) src c) ref

2) Relative URL points to a file within a website.

a) Absolute b) Relative c) Internal

3) Which of the following specifies the color of a link when it is clicked?

a) Visited b) Hover c) Active

4) .webm he is one of the supported file formats for a/an video file.

a) audio c) Frame

b) video

B) Fill in the blanks.

1) Hyperlinking can be defined as linking various web pages together.

2) When one part of a web page is linked to another section of the same page, it is

called internal linking.

3) The <A> tag is used to mark the text as a hyperlink.

4) Frames allow multiple HTML documents to be presented as independent

windows within one browser window.

Internal <A> Hyperlinking Frames

C) Write T for true and F for false.

1) A link can be displayed as a button on a web page. -T

2) Any image can be used as a hyperlink to another document. -T

3) Frames can be created using the <iFRAME> tag. -T

4) A hypertext contains a link to the information on the same web page or another

web page. -T

www.gardenschool.in 1
Computer Science

Chapter 6: Links and Frames in HTML Grade 8


D) Answer the following questions.

1) Why do you include hyperlinks in your web page?

A website consists of a number of web pages that gives us access to the related

information. HTML renders a powerful feature for linking these web pages together

called hyperlinking. Using hyperlinks, one can open any linked web page on the

internet in no time. When we hover the mouse pointer over a link, it will turn into a

little hand symbol. Hence, we can use hyperlinks to:

• jump from one section to another within the same web page.

• link to another page within the same website.

• page or website anywhere on the web.

2) Distinguish between internal and external linking.

There are two types of hyperlinking:

a) Internal linking: When one part of the web page is linked to another section on

the same page.

b) External linking: When one page is linked to another web page or website.

In HTML, the ‘href’ attribute of the <A> tag is used to define the document to which

the link leads.

Syntax: <A href = "value"> CLICK HERE </A>

where value can be:

• Absolute URL: It points to another website, like <A href =

"http://www.google.com/">

• Relative URL: It points to a file within a website, like <A href = "Click.html">

• Link to an e-mail address, like <A href = "mailto: [email protected]">

3) Describe the use of the anchor tag. Give syntax.

In HTML the Anchor tag <A> is used to mark the text as a hyperlink, which a user can

click to display the document anchored to it. It is a container tag used to specify the

following:

www.gardenschool.in 2
Computer Science

Chapter 6: Links and Frames in HTML Grade 8


• The text or image that is clicked to activate the link.

• The address that will be opened using the defined link.

The href attribute of the anchor <A> tag defines the document to which the link leads.

Syntax: <A href = "value"> CLICK HERE </A>

where value can be:

• Absolute URL: It points to another website, like <A href =

"http://www.google.com/">

• Relative URL: It points to a file within a website, like <A href = "Click.html">

• Link to an e-mail address, like <A href = "mailto: [email protected]">

4) List the tags that you use to include audio and video clips. Give syntax.

The <AUDIO> tag specifies a standard way to insert an audio file in a web page. It can

be used for any file format like .mp3, .ogg, dot, .wav, etc. The attributes of the

<AUDIO> tag are src, controls, autoplay and loop.

We can insert video files in our HTML pages with the help of the <VIDEO> tag.

Supported file formats include .mp4, .webm, .ogg, etc. Attributes associated with the

<VIDEO> tag are src, controls autoplay, height and width.

5) How are frames useful in creating web pages?

Frames are a way of organising a website by enabling the user to divide a page into a

number of rectangular segments for different purposes. Frames allow multiple HTML

documents to be presented as independent windows within one browser window.

This gives greater flexibility to design and maintain a website than simply dumping

everything onto one web page. Frames make a website interesting as we can include

the website theme (image, logo, banners, etc.). The navigation menu in frames is not

to be downloaded each time we visit a new page, we only have to change the content

of the page. Frames can be created by using the <iFRAME> tag.

Syntax: <iFRAME src = “value”> where value = path of the document

www.gardenschool.in 3
Computer Science

Chapter 6: Links and Frames in HTML Grade 8


6) Write a code in HTML to add a sound file national_song.mp3 in your web page.

Answer: <AUDIO controls src="national_song.mp3"></AUDIO>

E) Competency-based question.

Vikram is creating a website in which he wants to use different images as links to the

web pages. He is also interested in adding some video clips in his website. Can you

suggest him the required tags to include the set elements in his website?

Answer: To use an image as a link, Vikram can use the <A> (anchor) tag along with the

<IMG> (image) tag, and to add a video clip, he can use the <VIDEO> tag.

www.gardenschool.in 4

You might also like