Images, Links and Frames Notes
Images, Links and Frames Notes
Class 8
*****************************************************************
A. Fill in the blanks:
1. Hyperlinking can be defined as linking the 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 Audio tag is used to insert an audio file in a web page.
4. Frame allows multiple HTML documents to be presented as independent windows
within one browser window.
5. The <A> tag is used to mark the text as a hyperlink.
1. A hypertext contains a link to the information on the same web page or another web page.
True
2. A link can be displayed as a button in a web page. True
3. Any image can be used as a hyperlink to another document. True
4. You can insert an audio clip or any audio file in the web page with the help of the
<audio> tag. True
5. Frames can be created using the <iframe> tag. True
Question 1 : Rohan wants to divide a web page into four sections. Which tag should he use
to accomplish this?
Answer: <iframe>
Question 2: Vikram is creating a website in which he wants to use different images as links
to web pages. He is also interested in adding some video clips to his website. Can you
suggest the required tags to include these elements?
Answer:
1. The ......................... attribute of a tag defines the document to which the link leads.
✅ a. href
b. src
c. ref
a. Absolute
✅ b. Relative
c. Internal
a. Visited
b. Hover
✅ c. Active
4. The ......................... attribute of the tag plays the audio file automatically when the
web page is loaded.
a. Start
✅ b. Autoplay
c. Auto
5. The .webm is one of the supported file formats for the ......................... file.
a. Audio
✅ b. Video
c. Frame
E. Answer the following questions
Q1. Why do you include hyperlinks in your web page? Give any two reasons.
Answer: Hyperlinks are included on web pages for navigation and reference purposes.
Hyperlinks help users easily navigate through different pages or sections of a website.
Hyperlinks provide additional information or context by linking to external sources or
related content within the website itself.
Answer: Internal linking connects pages or content within the same website or domain,
while external linking connects to pages or content outside of the website or domain,
typically on other websites.
Answer: The anchor tag <a> is an HTML element used to create a hyperlink that links to
another webpage, document, or file. The anchor tag is used with the href attribute to specify
the URL of the destination.
Q4. List the tags that you use to include audio and video clips. Also, give syntax and
attributes of these tags.
Answer: The tags used to include audio and video clips in HTML are as follows:
Answer : Frames are an HTML feature that allows multiple web pages to be displayed
within a single browser window. They were useful for creating complex layouts and dynamic
user experiences but have largely been replaced by modern techniques such as responsive
design and single-page applications.